Package org.infinispan.manager
Interface CacheContainer
-
- All Superinterfaces:
BasicCacheContainer
,Lifecycle
- All Known Subinterfaces:
EmbeddedCacheManager
- All Known Implementing Classes:
DefaultCacheManager
public interface CacheContainer extends BasicCacheContainer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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()
<K,V>
Cache<K,V>getCache(java.lang.String cacheName)
-
Methods inherited from interface org.infinispan.commons.api.BasicCacheContainer
getCacheNames
-
-
-
-
Method Detail
-
getCache
<K,V> Cache<K,V> getCache()
- Specified by:
getCache
in interfaceBasicCacheContainer
- Returns:
- the default cache.
-
getCache
<K,V> Cache<K,V> getCache(java.lang.String cacheName)
- Specified by:
getCache
in interfaceBasicCacheContainer
- Parameters:
cacheName
- name of cache to retrieve- Returns:
- a cache instance identified by cacheName
-
administration
default CacheContainerAdmin<?,?> administration()
Provides access to administrative methods which affect the underlying cache container, such as cache creation and removal. If the underlying container is clustered or remote, the operations will affect all nodes.- Returns:
-
-