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