public static interface Policy.KeyOnlyPolicy extends Policy
Policy.Characteristic, Policy.KeyOnlyPolicy| Modifier and Type | Method and Description |
|---|---|
default Set<Policy.Characteristic> |
characteristics()
The event features that this policy supports.
|
default void |
record(AccessEvent event)
Records that the entry was accessed.
|
void |
record(long key) |
default Set<Policy.Characteristic> characteristics()
Policycharacteristics in interface Policydefault void record(AccessEvent event)
Policyvoid record(long key)