-
Methods in one.microstream.cache.types that return EvictionPolicy
Modifier and Type |
Method |
Description |
static EvictionPolicy |
EvictionPolicy.BiggestObjects(int elementCount,
long maxCacheSize) |
|
static EvictionPolicy |
EvictionPolicy.BiggestObjects(_intReference elementCount,
Predicate<CacheTable> evictionNecessity,
Predicate<KeyValue<Object,CachedValue>> evictionPermission) |
|
static EvictionPolicy |
EvictionPolicy.FirstInFirstOut(int elementCount,
long maxCacheSize) |
|
static EvictionPolicy |
EvictionPolicy.FirstInFirstOut(_intReference elementCount,
Predicate<CacheTable> evictionNecessity,
Predicate<KeyValue<Object,CachedValue>> evictionPermission) |
|
static EvictionPolicy |
EvictionPolicy.LeastFrequentlyUsed(int elementCount,
long maxCacheSize) |
|
static EvictionPolicy |
EvictionPolicy.LeastFrequentlyUsed(long maxCacheSize) |
|
static EvictionPolicy |
EvictionPolicy.LeastFrequentlyUsed(_intReference elementCount,
Predicate<CacheTable> evictionNecessity,
Predicate<KeyValue<Object,CachedValue>> evictionPermission) |
|
static EvictionPolicy |
EvictionPolicy.LeastRecentlyUsed(int elementCount,
long maxCacheSize) |
|
static EvictionPolicy |
EvictionPolicy.LeastRecentlyUsed(long maxCacheSize) |
|
static EvictionPolicy |
EvictionPolicy.LeastRecentlyUsed(_intReference elementCount,
Predicate<CacheTable> evictionNecessity,
Predicate<KeyValue<Object,CachedValue>> evictionPermission) |
|
static EvictionPolicy |
EvictionPolicy.Sampling(_intReference elementCount,
Predicate<CacheTable> evictionNecessity,
Predicate<KeyValue<Object,CachedValue>> evictionPermission,
Comparator<KeyValue<Object,CachedValue>> comparator) |
|
static EvictionPolicy |
EvictionPolicy.Searching(_intReference elementCount,
Predicate<CacheTable> evictionNecessity,
Predicate<KeyValue<Object,CachedValue>> evictionPermission) |
|