public final class FullySegmentedWindowTinyLfuPolicy extends Object implements Policy
SegmentedLruPolicy.| Constructor and Description |
|---|
FullySegmentedWindowTinyLfuPolicy(double percentMain,
com.github.benmanes.caffeine.cache.simulator.policy.sketch.FullySegmentedWindowTinyLfuPolicy.FullySegmentedWindowTinyLfuSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
void |
finished()
Indicates that the recording has completed.
|
static Set<Policy> |
policies(com.typesafe.config.Config config)
Returns all variations of this policy based on the configuration parameters.
|
void |
record(long key)
Records that the entry was accessed.
|
PolicyStats |
stats()
Returns the cache efficiency statistics.
|
public FullySegmentedWindowTinyLfuPolicy(double percentMain,
com.github.benmanes.caffeine.cache.simulator.policy.sketch.FullySegmentedWindowTinyLfuPolicy.FullySegmentedWindowTinyLfuSettings settings)
public static Set<Policy> policies(com.typesafe.config.Config config)
public PolicyStats stats()
Policypublic void record(long key)
Policy