@NotThreadSafe public interface Policy
| Modifier and Type | Method and Description |
|---|---|
default void |
finished()
Indicates that the recording has completed.
|
void |
record(long key)
Records that the entry was accessed.
|
PolicyStats |
stats()
Returns the cache efficiency statistics.
|
void record(long key)
default void finished()
PolicyStats stats()