@groovy.util.logging.Slf4j @groovy.transform.CompileStatic class GrailsEhcacheCacheManager
Based on org.springframework.cache.ehcache.EhCacheCacheManager; reworked to return GrailsEhcacheCache instances.
Modifiers | Name | Description |
---|---|---|
protected CacheManager |
cacheManager |
|
protected java.util.concurrent.ConcurrentMap<java.lang.String, Cache> |
cacheMap |
|
protected java.util.Set<java.lang.String> |
cacheNames |
|
protected Configuration |
configuration |
Type | Name and description |
---|---|
java.lang.Long |
lockTimeout |
Type Params | Return Type | Name and description |
---|---|---|
|
protected void |
addCache(Cache cache) |
|
void |
afterPropertiesSet() |
|
protected GrailsEhcacheCache |
buildCache(java.lang.String name, CacheConfiguration configuration) |
|
boolean |
cacheExists(java.lang.String name) |
|
protected Cache |
createDefaultCache(java.lang.String name) |
|
protected CacheManager |
createDefaultManager() |
|
void |
destroy() |
|
boolean |
destroyCache(java.lang.String name) |
|
Cache |
getCache(java.lang.String name) |
|
java.util.Collection<java.lang.String> |
getCacheNames() |
|
protected Cache |
getOrCreateCache(java.lang.String name) |
|
CacheManager |
getUnderlyingCacheManager() |
|
protected java.util.Collection<Cache> |
loadCaches() |
|
void |
setConfiguration(EhcacheConfiguration configuration) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |