com.jaxfront.core.util
Class MRUHashtable.CacheEntry

java.lang.Object
  extended by com.jaxfront.core.util.MRUHashtable.CacheEntry
Enclosing class:
MRUHashtable

public class MRUHashtable.CacheEntry
extends java.lang.Object

For each object in the cache, there is one MCRCacheEntry object encapsulating it. The cache uses a double-linked list of MCRCacheEntries and holds references to the most and least recently used entry.


Constructor Summary
MRUHashtable.CacheEntry()
           
 
Method Summary
 java.lang.Object getContext()
           
 int getHits()
           
 java.lang.Object getKey()
           
 int getSurviveTime()
           
 long getTime()
           
 java.lang.Object getValue()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MRUHashtable.CacheEntry

public MRUHashtable.CacheEntry()
Method Detail

getContext

public java.lang.Object getContext()

getHits

public int getHits()

getKey

public java.lang.Object getKey()

getSurviveTime

public int getSurviveTime()

getTime

public long getTime()

getValue

public java.lang.Object getValue()