public interface CacheManager 名前付き Cache 領域を取得できます。
| 修飾子と型 | メソッドと説明 |
|---|---|
Cache | getCache(StringSE name) 指定された名前に関連付けられたキャッシュを取得します。 |
CollectionSE<StringSE> | getCacheNames() このマネージャーが知っているキャッシュ名のコレクションを取得します。 |
@Nullable Cache getCache(StringSE name)
ネイティブプロバイダーがサポートしている場合、キャッシュは実行時に遅延して作成される場合があることに注意してください。
name - キャッシュ識別子 (null であってはなりません)null CollectionSE<StringSE> getCacheNames()