|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.jtds.jdbc.cache.ProcedureCache.CacheEntry
Encapsulates the cached Object and implements the linked list used to implement the LRU logic.
Field Summary | |
(package private) java.lang.String |
key
|
(package private) ProcedureCache.CacheEntry |
next
|
(package private) ProcedureCache.CacheEntry |
prior
|
(package private) ProcEntry |
value
|
Constructor Summary | |
(package private) |
ProcedureCache.CacheEntry(java.lang.String key,
ProcEntry value)
Constructs a new cache entry encapsulating the supplied key and value. |
Method Summary | |
(package private) void |
link(ProcedureCache.CacheEntry ce)
Links this CacheEntry into the linked list after the node specified. |
(package private) void |
unlink()
Unlinks this CacheEntry from the linked list. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
java.lang.String key
ProcEntry value
ProcedureCache.CacheEntry next
ProcedureCache.CacheEntry prior
Constructor Detail |
ProcedureCache.CacheEntry(java.lang.String key, ProcEntry value)
key
- key used to identify the cache entryvalue
- object being cachedMethod Detail |
void unlink()
void link(ProcedureCache.CacheEntry ce)
ce
- node after which this entry will be linked
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |