org.infinispan.manager
Interface CacheContainer
- All Superinterfaces:
- BasicCacheContainer, Lifecycle
- All Known Subinterfaces:
- CacheManager, EmbeddedCacheManager
- All Known Implementing Classes:
- AbstractDelegatingEmbeddedCacheManager, DefaultCacheManager
public interface CacheContainer
- extends BasicCacheContainer
getCache
<K,V> Cache<K,V> getCache()
- This method overrides the underlying
getCache()
,
to return a Cache
instead of a BasicCache
- Specified by:
getCache
in interface BasicCacheContainer
- Returns:
- the default cache.
getCache
<K,V> Cache<K,V> getCache(String cacheName)
- This method overrides the underlying
getCache(String)
,
to return a Cache
instead of a BasicCache
- Specified by:
getCache
in interface BasicCacheContainer
- Parameters:
cacheName
- name of cache to retrieve
- Returns:
- a cache instance identified by cacheName
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.