Package org.jboss.util
Class LRUCachePolicy.LRUCacheEntry
- java.lang.Object
-
- org.jboss.util.LRUCachePolicy.LRUCacheEntry
-
- Enclosing class:
- LRUCachePolicy
public class LRUCachePolicy.LRUCacheEntry extends java.lang.ObjectDouble linked cell used as entry in the cache list.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Objectm_keyThe key used to retrieve the cached objectLRUCachePolicy.LRUCacheEntrym_nextReference to the next cell in the listjava.lang.Objectm_objectThe cached objectLRUCachePolicy.LRUCacheEntrym_prevReference to the previous cell in the listlongm_timeThe timestamp of the creation
-
Constructor Summary
Constructors Modifier Constructor Description protectedLRUCacheEntry(java.lang.Object key, java.lang.Object object)Creates a new double linked cell, storing the object we want to cache and the key that is used to retrieve it.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()
-
-
-
Field Detail
-
m_next
public LRUCachePolicy.LRUCacheEntry m_next
Reference to the next cell in the list
-
m_prev
public LRUCachePolicy.LRUCacheEntry m_prev
Reference to the previous cell in the list
-
m_key
public java.lang.Object m_key
The key used to retrieve the cached object
-
m_object
public java.lang.Object m_object
The cached object
-
m_time
public long m_time
The timestamp of the creation
-
-