org.apache.batik.ext.awt.image.rendered
Interface LRUCache.LRUObj
- All Known Implementing Classes:
- TileLRUMember
- Enclosing class:
- LRUCache
- public static interface LRUCache.LRUObj
Interface for object participating in the LRU Cache. These
inform the object of key events in the status of the object in
the LRU cache.
lruSet
public void lruSet(LRUCache.LRUNode nde)
- Called when the object first becomes active in the LRU cache.
- Parameters:
nde
- The LRU cache node associated with this object.
should be remembered so it can be returned by
lruGet.
lruGet
public LRUCache.LRUNode lruGet()
- Called to get the LRU node for this object. Should return the
node passed in to lruSet.
lruRemove
public void lruRemove()
- Called to inform the object that it is no longer in the cache.
Copyright © 2002 Apache Software Foundation. All Rights Reserved.