|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.cache.support.AbstractCacheManager
org.springframework.data.gemfire.support.GemfireCacheManager
public class GemfireCacheManager
Spring Framework CacheManager backed by a Gemfire Cache. Automatically
discovers the created caches (or Regions in Gemfire terminology).
Cache,
CacheManager,
AbstractCacheManager,
Cache,
Region| Constructor Summary | |
|---|---|
GemfireCacheManager()
|
|
| Method Summary | |
|---|---|
Cache |
getCache(String name)
Gets a Cache (GemFire Cache Region) by name. |
protected Collection<Cache> |
loadCaches()
Loads the GemFire Cache Regions managed by this CacheManager. |
void |
setCache(com.gemstone.gemfire.cache.Cache gemfireCache)
Sets the GemFire Cache backing this CacheManager. |
void |
setRegions(Set<com.gemstone.gemfire.cache.Region<?,?>> regions)
Sets the Regions to use (alternative to injecting the GemFire Cache). |
| Methods inherited from class org.springframework.cache.support.AbstractCacheManager |
|---|
addCache, afterPropertiesSet, decorateCache, getCacheNames |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GemfireCacheManager()
| Method Detail |
|---|
protected Collection<Cache> loadCaches()
loadCaches in class AbstractCacheManagerCache,
RegionService.rootRegions()public Cache getCache(String name)
getCache in interface CacheManagergetCache in class AbstractCacheManagername - a String indicating the name of the Cache to get.
Cachepublic void setCache(com.gemstone.gemfire.cache.Cache gemfireCache)
CacheManager.
gemfireCache - the GemFire Peer Cache instance.Cachepublic void setRegions(Set<com.gemstone.gemfire.cache.Region<?,?>> regions)
regions - the Set of Regions (caches) managed by this CacheManager.Region
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||