Package one.microstream.cache.types
Class EvictionPolicy.Searching
java.lang.Object
one.microstream.cache.types.EvictionPolicy.Searching
- All Implemented Interfaces:
EvictionPolicy
- Enclosing interface:
- EvictionPolicy
public static class EvictionPolicy.Searching extends Object implements EvictionPolicy
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.cache.types.EvictionPolicy
EvictionPolicy.Sampling, EvictionPolicy.Searching
-
Method Summary
Modifier and Type Method Description Iterable<KeyValue<Object,CachedValue>>
pickEntriesToEvict(CacheTable cacheTable)
Select the entries which should be evicted.
-
Method Details
-
pickEntriesToEvict
Description copied from interface:EvictionPolicy
Select the entries which should be evicted.- Specified by:
pickEntriesToEvict
in interfaceEvictionPolicy
- Parameters:
cacheTable
- the source cache table to check- Returns:
- all entries which should be evicted
-