public final class CountMin64TinyLfu extends Object implements Frequency
For more details see TinyLFU: A Highly Efficient Cache Admission Policy.
The CountMinSketch parameters are described in Twitter's implementation.
| Constructor and Description |
|---|
CountMin64TinyLfu(Config config) |
| Modifier and Type | Method and Description |
|---|---|
int |
frequency(long o)
Returns the estimated usage frequency of the item.
|
void |
increment(long o)
Increments the popularity of the element.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreportMisspublic CountMin64TinyLfu(Config config)