org.jboss.util
Class LRUCachePolicy.LRUCacheEntry

java.lang.Object
  |
  +--org.jboss.util.LRUCachePolicy.LRUCacheEntry
Direct Known Subclasses:
LRUEnterpriseContextCachePolicy.ContextLRUEntry
Enclosing class:
LRUCachePolicy

protected class LRUCachePolicy.LRUCacheEntry
extends java.lang.Object

Double linked cell used as entry in the cache list.


Field Summary
 java.lang.Object m_key
          The key used to retrieve the cached object
protected  LRUCachePolicy.LRUCacheEntry m_next
          Reference to the next cell in the list
 java.lang.Object m_object
          The cached object
protected  LRUCachePolicy.LRUCacheEntry m_prev
          Reference to the previous cell in the list
 long m_time
          The timestamp of the creation
 
Constructor Summary
protected LRUCachePolicy.LRUCacheEntry(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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_next

protected LRUCachePolicy.LRUCacheEntry m_next
Reference to the next cell in the list

m_prev

protected 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
Constructor Detail

LRUCachePolicy.LRUCacheEntry

protected LRUCachePolicy.LRUCacheEntry(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.


Copyright © 2000 The jBoss Organization. All Rights Reserved.