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.
  • Methodendetails

    • wouldAddToCache

      <T> CacheEntry<T> wouldAddToCache(Object k, CacheEntry<T> toCache, boolean updated)
      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

      <T> boolean wouldClearCache(Class<T> affectedEntityType)
    • wouldRemoveEntryFromCache

      <T> boolean wouldRemoveEntryFromCache(Object key, CacheEntry<T> toRemove, boolean expired)