| Package | Description |
|---|---|
| com.trivago.triava.tcache.eviction |
| Modifier and Type | Method and Description |
|---|---|
Comparator<? super HolderFreezer<K,V>> |
EvictionInterface.evictionComparator()
Returns the Comparator implementing the eviction policy.
|
Comparator<HolderFreezer<K,V>> |
FreezingEvictor.evictionComparator()
Returns the standard comparator, which compares first the frozen values, and (on ties) uses the
tiebreaker.
|
| Modifier and Type | Method and Description |
|---|---|
int |
FreezingEvictor.compareByFreezer(HolderFreezer<K,V> o1,
HolderFreezer<K,V> o2,
boolean includeTiebreaker)
Compare objects by their frozen value
getFrozenValue(). |
int |
FreezingEvictor.compareByFreezer(HolderFreezer<K,V> o1,
HolderFreezer<K,V> o2,
boolean includeTiebreaker)
Compare objects by their frozen value
getFrozenValue(). |
Copyright © 2018 trivago. All rights reserved.