org.springframework.data.gemfire.support
Class GemfireCacheManager
java.lang.Object
org.springframework.cache.support.AbstractCacheManager
org.springframework.data.gemfire.support.GemfireCacheManager
- All Implemented Interfaces:
- InitializingBean, CacheManager
public class GemfireCacheManager
- extends AbstractCacheManager
Spring Framework CacheManager
backed by a Gemfire Cache
. Automatically
discovers the created caches (or Region
s in Gemfire terminology).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GemfireCacheManager
public GemfireCacheManager()
loadCaches
protected Collection<Cache> loadCaches()
- Specified by:
loadCaches
in class AbstractCacheManager
getCache
public Cache getCache(String name)
- Specified by:
getCache
in interface CacheManager
- Overrides:
getCache
in class AbstractCacheManager
setCache
public void setCache(Cache gemfireCache)
- Sets the GemFire Cache backing this
CacheManager
.
- Parameters:
gemfireCache
-