Class ProcedureCache.CacheEntry

java.lang.Object
net.sourceforge.jtds.jdbc.cache.ProcedureCache.CacheEntry
Enclosing class:
ProcedureCache

private static class ProcedureCache.CacheEntry extends Object
Encapsulates the cached Object and implements the linked list used to implement the LRU logic.
  • Field Details

  • Constructor Details

    • CacheEntry

      CacheEntry(String key, ProcEntry value)
      Constructs a new cache entry encapsulating the supplied key and value.
      Parameters:
      key - key used to identify the cache entry
      value - 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