public interface CacheListener
| Modifier and Type | Interface and Description |
|---|---|
static class |
CacheListener.Operation |
| Modifier and Type | Method and Description |
|---|---|
<T> CacheObject<T> |
wouldAddToCache(CacheObject<T> toCache)
ability to alter cached entries or avoid caching overall
|
<T> boolean |
wouldClearCache(Class<T> affectedEntityType) |
<T> boolean |
wouldRemoveEntryFromCache(Class cls,
Object id,
Object entity) |
<T> CacheObject<T> wouldAddToCache(CacheObject<T> toCache)
T - - the typetoCache - - datastructure containing cache key and result<T> boolean wouldClearCache(Class<T> affectedEntityType)
Copyright © 2014. All rights reserved.