Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.batik.ext.awt.image.rendered
Interface LRUCache.LRUObj  view LRUCache.LRUObj download LRUCache.LRUObj.java

All Known Implementing Classes:
TileLRUMember
Enclosing interface:
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.


Method Summary
 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.
 

Method Detail

lruSet

public void lruSet(LRUCache.LRUNode nde)
Called when the object first becomes active in the LRU cache.


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.