org.cdlib.xtf.cache
Class Cache.ListEntry

Object
  extended by LinkableImpl
      extended by Cache.ListEntry
All Implemented Interfaces:
Linkable
Enclosing class:
Cache<K,V>

protected class Cache.ListEntry
extends LinkableImpl

An entry in the age list maintained by the cache


Field Summary
(package private)  LinkedList dependencies
          Things this entry depends on
(package private)  K key
          The key being tracked
(package private)  long lastUsedTime
          The time (millis since epoch) since the entry was used
(package private)  long setTime
          The time (millis since epoch) the entry was created
(package private)  V value
          The generated or set value for that key
 
Constructor Summary
protected Cache.ListEntry()
           
 
Method Summary
 
Methods inherited from class LinkableImpl
getNext, getOwner, getPrev, setNext, setOwner, setPrev
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

K key
The key being tracked


value

V value
The generated or set value for that key


lastUsedTime

long lastUsedTime
The time (millis since epoch) since the entry was used


setTime

long setTime
The time (millis since epoch) the entry was created


dependencies

LinkedList dependencies
Things this entry depends on

Constructor Detail

Cache.ListEntry

protected Cache.ListEntry()