public static interface LRUCache.LRUObj
Modifier and Type | Method and Description |
---|---|
LRUCache.LRUNode |
lruGet()
Called to get the LRU node for this object.
|
void |
lruRemove()
Called to inform the object that it is no longer in the cache.
|
void |
lruSet(LRUCache.LRUNode nde)
Called when the object first becomes active in the LRU cache.
|
void lruSet(LRUCache.LRUNode nde)
nde
- The LRU cache node associated with this object.
should be remembered so it can be returned by
lruGet
.LRUCache.LRUNode lruGet()
void lruRemove()
Copyright © 2022 Apache Software Foundation. All Rights Reserved.