| Constructor and Description |
|---|
TinyLfu(com.typesafe.config.Config config) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
admit(long candidateKey,
long victimKey)
Returns if the candidate should be added to the cache and the page replacement policy's chosen
victim should be removed.
|
void |
record(long key)
Records the access to the entry.
|
public void record(long key)
Admittorpublic boolean admit(long candidateKey,
long victimKey)
Admittor