|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jca.adapters.jdbc.util.LRUCachePolicy.LRUCacheEntry
public class LRUCachePolicy.LRUCacheEntry

Double linked cell used as entry in the cache list.
| Constructor Summary | |
|---|---|
protected |
LRUCachePolicy.LRUCacheEntry(Object key,
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 | |
|---|---|
Object |
getKey()
Get the key. |
LRUCachePolicy.LRUCacheEntry |
getNext()
Get the next. |
Object |
getObject()
Get the object. |
LRUCachePolicy.LRUCacheEntry |
getPrev()
Get the prev. |
long |
getTime()
Get the time. |
void |
setKey(Object key)
Set the key. |
void |
setNext(LRUCachePolicy.LRUCacheEntry next)
Set the next. |
void |
setObject(Object object)
Set the object. |
void |
setPrev(LRUCachePolicy.LRUCacheEntry prev)
Set the prev. |
void |
setTime(long time)
Set the time. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected LRUCachePolicy.LRUCacheEntry(Object key,
Object object)
key - keyobject - object| Method Detail |
|---|
public String toString()
toString in class Objectpublic final LRUCachePolicy.LRUCacheEntry getNext()
public final void setNext(LRUCachePolicy.LRUCacheEntry next)
next - The next to set.public final LRUCachePolicy.LRUCacheEntry getPrev()
public final void setPrev(LRUCachePolicy.LRUCacheEntry prev)
prev - The prev to set.public final Object getKey()
public final void setKey(Object key)
key - The key to set.public final Object getObject()
public final void setObject(Object object)
object - The object to set.public final long getTime()
public final void setTime(long time)
time - The time to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||