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


Field Summary
 
Fields inherited from interface org.infinispan.api.BasicCacheContainer
DEFAULT_CACHE_NAME
 
Method Summary
<K,V> Cache<K,V>
getCache()
          This method overrides the underlying getCache(), to return a Cache instead of a BasicCache
<K,V> Cache<K,V>
getCache(String cacheName)
          This method overrides the underlying getCache(String), to return a Cache instead of a BasicCache
 
Methods inherited from interface org.infinispan.lifecycle.Lifecycle
start, stop
 

Method Detail

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.