|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jca.adapters.jdbc.util.LRUCache.LRUCacheEntry<K,V>
public class LRUCache.LRUCacheEntry<K,V>

Double linked cell used as entry in the cache list.
| Constructor Summary | |
|---|---|
protected |
LRUCache.LRUCacheEntry(K key,
V value)
Creates a new double linked cell, storing the object we want to cache and the key that is used to retrieve it. |
| Method Summary | |
|---|---|
K |
getKey()
Get key |
V |
getValue()
Get value |
void |
reset()
Reset |
void |
setNext(LRUCache.LRUCacheEntry<K,V> v)
Set next |
void |
setPrev(LRUCache.LRUCacheEntry<K,V> v)
Set prev |
String |
toString()
|
void |
updateTimestamp()
Update timestamp |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected LRUCache.LRUCacheEntry(K key,
V value)
key - The keyvalue - The value| Method Detail |
|---|
public K getKey()
public V getValue()
public void setNext(LRUCache.LRUCacheEntry<K,V> v)
v - The valuepublic void setPrev(LRUCache.LRUCacheEntry<K,V> v)
v - The valuepublic void updateTimestamp()
public void reset()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||