|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EvictionPolicy
Eviction policy interface. Used to determine which items are removed from the cache when the maximum cache size is reached.
Method Summary | |
---|---|
void |
access(NodeIdentifier node)
Called when a node is accessed. |
boolean |
evict()
Removes the node from next node in the policy from the cache. |
Method Detail |
---|
boolean evict()
void access(NodeIdentifier node)
node
- node accessed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |