public final class UnboundedPolicy extends Object implements Policy
Policy.Characteristic, Policy.KeyOnlyPolicy, Policy.PolicySpec| Constructor and Description |
|---|
UnboundedPolicy(Config config,
Set<Policy.Characteristic> characteristics) |
| Modifier and Type | Method and Description |
|---|---|
void |
record(AccessEvent event)
Records that the entry was accessed.
|
PolicyStats |
stats()
Returns the cache efficiency statistics.
|
public UnboundedPolicy(Config config, Set<Policy.Characteristic> characteristics)
public PolicyStats stats()
Policypublic void record(AccessEvent event)
Policy