- clear
Invoked to notify EvictionPolicy implementation that all Segment entries have
been cleared.
- createNewEntry
- execute
Invokes eviction policy algorithm and returns set of evicted entries.
Set cannot be null but could
- onEntryHit
Invoked to notify EvictionPolicy implementation that an entry in Segment has
been accessed. Returns
- onEntryMiss
Invoked to notify EvictionPolicy implementation that there has been an attempt
to access an entry in
- onEntryRemove
Invoked to notify EvictionPolicy implementation that an entry e has been removed
from Segment.
- strategy
Returns type of eviction algorithm (strategy).