public interface EvictionFilter<K,V> extends Serializable
EvictableEntry.evict()
.
If evictAllowed(Cache.Entry)
method returns false
then eviction
policy will not be notified and entry will never be evicted.
Eviction filter can be configured via CacheConfiguration.getEvictionFilter()
configuration property. Default value is null
which means that all
cache entries will be tracked by eviction policy.
Modifier and Type | Method and Description |
---|---|
boolean |
evictAllowed(javax.cache.Cache.Entry<K,V> entry)
Checks if entry may be evicted from cache.
|
GridGain In-Memory Computing Platform : ver. 8.9.19 Release Date : April 10 2025