public interface CacheContainer extends BasicCacheContainer
Modifier and Type | Method and Description |
---|---|
default CacheContainerAdmin<?,?> |
administration()
Provides access to administrative methods which affect the underlying cache container, such as cache creation and
removal.
|
<K,V> Cache<K,V> |
getCache()
Retrieves the default cache associated with this cache container.
|
<K,V> Cache<K,V> |
getCache(String cacheName)
Retrieves a cache by name.
|
getCacheNames
<K,V> Cache<K,V> getCache()
BasicCacheContainer
getCache
in interface BasicCacheContainer
<K,V> Cache<K,V> getCache(String cacheName)
BasicCacheContainer
getCache
in interface BasicCacheContainer
cacheName
- name of cache to retrievedefault CacheContainerAdmin<?,?> administration()
Copyright © 2021 JBoss by Red Hat. All rights reserved.