org.shiftone.cache.policy.lru
Class LruNode

java.lang.Object
  extended byorg.shiftone.cache.policy.lru.LruNode
All Implemented Interfaces:
CacheNode

class LruNode
extends java.lang.Object
implements CacheNode

Class LruNode

Version:
$Revision: 1.3 $
Author:
Jeff Drost

Field Summary
(package private)  LinkedListNode fifoNode
           
(package private)  java.lang.Object key
           
(package private)  LinkedListNode lruNode
           
(package private)  long timeoutTime
           
(package private)  java.lang.Object value
           
 
Constructor Summary
(package private) LruNode()
           
 
Method Summary
 java.lang.Object getValue()
           
 boolean isExpired()
           
 void setValue(java.lang.Object value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

key

java.lang.Object key

value

java.lang.Object value

fifoNode

LinkedListNode fifoNode

lruNode

LinkedListNode lruNode

timeoutTime

long timeoutTime
Constructor Detail

LruNode

LruNode()
Method Detail

isExpired

public final boolean isExpired()
Specified by:
isExpired in interface CacheNode

getValue

public final java.lang.Object getValue()
Specified by:
getValue in interface CacheNode

setValue

public final void setValue(java.lang.Object value)
Specified by:
setValue in interface CacheNode

toString

public java.lang.String toString()