Package org.apache.ignite.cache.eviction
Interface EvictionFilter<K,V>
- 
- All Superinterfaces:
- Serializable
 
 public interface EvictionFilter<K,V> extends Serializable Eviction filter to specify which entries should not be evicted. Not applicable when calling explicit evict viaEvictableEntry.evict(). IfevictAllowed(Cache.Entry)method returnsfalsethen eviction policy will not be notified and entry will never be evicted.Eviction filter can be configured via CacheConfiguration.getEvictionFilter()configuration property. Default value isnullwhich means that all cache entries will be tracked by eviction policy.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanevictAllowed(javax.cache.Cache.Entry<K,V> entry)Checks if entry may be evicted from cache.
 
-