Package de.caluga.morphium.cache
Schnittstelle CacheListener
public interface CacheListener
Created with IntelliJ IDEA.
User: stephan
Date: 15.04.14
Time: 09:55
To change this template use File | Settings | File Templates.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibung<T> CacheEntry<T>wouldAddToCache(Object k, CacheEntry<T> toCache, boolean updated) ability to alter cached entries or avoid caching overall<T> booleanwouldClearCache(Class<T> affectedEntityType) <T> booleanwouldRemoveEntryFromCache(Object key, CacheEntry<T> toRemove, boolean expired)
-
Methodendetails
-
wouldAddToCache
ability to alter cached entries or avoid caching overall- Typparameter:
T- - the type- Parameter:
toCache- - datastructure containing cache key and result- Gibt zurück:
- false, if not to cache
-
wouldClearCache
-
wouldRemoveEntryFromCache
-