Interface OldCache.EvictionPolicy

  • All Superinterfaces:
    ConfigurableCacheMap.EvictionPolicy
    All Known Implementing Classes:
    OldCache.InternalEvictionPolicy
    Enclosing class:
    OldCache

    public static interface OldCache.EvictionPolicy
    extends ConfigurableCacheMap.EvictionPolicy
    An eviction policy is an object that the cache provides with access information, and when requested, the eviction policy selects and evicts entries from the cache. If the eviction policy needs to be aware of changes to the cache, it must implement the MapListener interface; if it does, it will automatically be registered to receive MapEvents.