public final class Ehcache3Policy extends Object implements Policy.KeyOnlyPolicy
Policy.Characteristic, Policy.KeyOnlyPolicy| Constructor and Description |
|---|
Ehcache3Policy(Config config) |
| Modifier and Type | Method and Description |
|---|---|
void |
finished()
Indicates that the recording has completed.
|
static Set<Policy> |
policies(Config config)
Returns all variations of this policy based on the configuration parameters.
|
void |
record(long key) |
PolicyStats |
stats()
Returns the cache efficiency statistics.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharacteristics, recordpublic Ehcache3Policy(Config config)
public static Set<Policy> policies(Config config)
public void record(long key)
record in interface Policy.KeyOnlyPolicypublic PolicyStats stats()
Policy