Package net.sourceforge.jtds.jdbc.cache
Class ProcedureCache.CacheEntry
java.lang.Object
net.sourceforge.jtds.jdbc.cache.ProcedureCache.CacheEntry
- Enclosing class:
- ProcedureCache
Encapsulates the cached Object and implements the linked list used to
implement the LRU logic.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) String
(package private) ProcedureCache.CacheEntry
(package private) ProcedureCache.CacheEntry
(package private) ProcEntry
-
Constructor Summary
ConstructorsConstructorDescriptionCacheEntry
(String key, ProcEntry value) Constructs a new cache entry encapsulating the supplied key and value. -
Method Summary
Modifier and TypeMethodDescription(package private) void
Links this CacheEntry into the linked list after the node specified.(package private) void
unlink()
Unlinks this CacheEntry from the linked list.
-
Field Details
-
Constructor Details
-
CacheEntry
Constructs a new cache entry encapsulating the supplied key and value.- Parameters:
key
- key used to identify the cache entryvalue
- object being cached
-
-
Method Details
-
unlink
void unlink()Unlinks this CacheEntry from the linked list. -
link
Links this CacheEntry into the linked list after the node specified.- Parameters:
ce
- node after which this entry will be linked
-