|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.knowgate.cache.LRUCachePolicy.LRUCacheEntry
public final class LRUCachePolicy.LRUCacheEntry
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 |
long |
m_last
The timestamp of last modification |
LRUCachePolicy.LRUCacheEntry |
m_next
Reference to the next cell in the list |
java.lang.Object |
m_object
The cached object |
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,
long t)
Creates a new double linked cell, storing the object we want to cache and the key that is used to retrieve it. |
| Method Summary | |
|---|---|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public LRUCachePolicy.LRUCacheEntry m_next
public LRUCachePolicy.LRUCacheEntry m_prev
public java.lang.Object m_key
public java.lang.Object m_object
public long m_time
public long m_last
| Constructor Detail |
|---|
protected LRUCachePolicy.LRUCacheEntry(java.lang.Object key,
java.lang.Object object,
long t)
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||