de.neteye.actioncache
Interface CacheItem

All Known Implementing Classes:
AbstractCacheItem

public interface CacheItem

Objects that shall be kept in the cache must implement this interface. Beside its key a cache item has to store its predecessor and successor since they are elements of a double linked list.

Version:
$Revision: 1.2 $
Author:
Felix Gnass
See Also:
ActionCacheItem

Method Summary
 java.lang.Object getKey()
           
 long getLastModified()
           
 CacheItem getNext()
           
 CacheItem getPrevious()
           
 void setNext(CacheItem next)
           
 void setPrevious(CacheItem previous)
           
 

Method Detail

getKey

public java.lang.Object getKey()

getLastModified

public long getLastModified()

getPrevious

public CacheItem getPrevious()

setPrevious

public void setPrevious(CacheItem previous)

getNext

public CacheItem getNext()

setNext

public void setNext(CacheItem next)