| Constructor and Description |
|---|
S4WindowTinyLfuPolicy(double percentMain,
com.github.benmanes.caffeine.cache.simulator.policy.sketch.S4WindowTinyLfuPolicy.S4WindowTinyLfuSettings 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 S4WindowTinyLfuPolicy(double percentMain,
com.github.benmanes.caffeine.cache.simulator.policy.sketch.S4WindowTinyLfuPolicy.S4WindowTinyLfuSettings settings)
public static Set<Policy> policies(com.typesafe.config.Config config)
public PolicyStats stats()
Policypublic void record(long key)
Policy