public class GrailsConcurrentMapCacheManager extends java.lang.Object implements GrailsCacheManager
Modifier and Type | Field and Description |
---|---|
protected java.util.concurrent.ConcurrentMap<java.lang.String,org.springframework.cache.Cache> |
cacheMap |
Constructor and Description |
---|
GrailsConcurrentMapCacheManager() |
Modifier and Type | Method and Description |
---|---|
boolean |
cacheExists(java.lang.String name) |
protected GrailsConcurrentMapCache |
createConcurrentMapCache(java.lang.String name) |
boolean |
destroyCache(java.lang.String name) |
org.springframework.cache.Cache |
getCache(java.lang.String name) |
java.util.Collection<java.lang.String> |
getCacheNames() |
protected final java.util.concurrent.ConcurrentMap<java.lang.String,org.springframework.cache.Cache> cacheMap
public java.util.Collection<java.lang.String> getCacheNames()
getCacheNames
in interface org.springframework.cache.CacheManager
public org.springframework.cache.Cache getCache(java.lang.String name)
getCache
in interface org.springframework.cache.CacheManager
public boolean cacheExists(java.lang.String name)
cacheExists
in interface GrailsCacheManager
public boolean destroyCache(java.lang.String name)
destroyCache
in interface GrailsCacheManager
protected GrailsConcurrentMapCache createConcurrentMapCache(java.lang.String name)