public interface Policy
| Modifier and Type | Interface and Description |
|---|---|
static class |
Policy.Characteristic |
static interface |
Policy.KeyOnlyPolicy
A policy that does not exploit external event metadata.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Policy.Characteristic> |
characteristics()
The event features that this policy supports.
|
default 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.
|
Set<Policy.Characteristic> characteristics()
void record(AccessEvent event)
default void finished()
PolicyStats stats()