org.apache.jcs.engine.behavior
Interface ICacheElement

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
CacheElement, PurgatoryElement

public interface ICacheElement
extends java.io.Serializable

Description of the Interface

Author:
asmuts

Method Summary
 java.lang.String getCacheName()
          Gets the cacheName attribute of the ICacheElement object
 IElementAttributes getElementAttributes()
          Gets the attributes attribute of the ICacheElement object
 java.io.Serializable getKey()
          Gets the key attribute of the ICacheElement object
 java.io.Serializable getVal()
          Gets the val attribute of the ICacheElement object
 void setElementAttributes(IElementAttributes attr)
          Sets the attributes attribute of the ICacheElement object
 

Method Detail

getCacheName

public java.lang.String getCacheName()
Gets the cacheName attribute of the ICacheElement object

Returns:
The cacheName value

getKey

public java.io.Serializable getKey()
Gets the key attribute of the ICacheElement object

Returns:
The key value

getVal

public java.io.Serializable getVal()
Gets the val attribute of the ICacheElement object

Returns:
The val value

getElementAttributes

public IElementAttributes getElementAttributes()
Gets the attributes attribute of the ICacheElement object

Returns:
The attributes value

setElementAttributes

public void setElementAttributes(IElementAttributes attr)
Sets the attributes attribute of the ICacheElement object

Parameters:
attr - The new attributes value