Policy.Characteristic, Policy.KeyOnlyPolicy, Policy.PolicySpec| Constructor and Description |
|---|
ClairvoyantPolicy(Config config) |
| Modifier and Type | Method and Description |
|---|---|
void |
finished()
Indicates that the recording has completed.
|
void |
record(AccessEvent event)
Records that the entry was accessed.
|
PolicyStats |
stats()
Returns the cache efficiency statistics.
|
public ClairvoyantPolicy(Config config)
public void record(AccessEvent event)
Policypublic PolicyStats stats()
Policy