|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jcs.engine.CacheElement
Generic element wrapper. Often stuffed inside another.
Field Summary | |
ElementAttributes |
attr
Description of the Field |
java.lang.String |
cacheName
Description of the Field |
java.io.Serializable |
key
Description of the Field |
java.io.Serializable |
val
Description of the Field |
Constructor Summary | |
CacheElement(java.lang.String cacheName,
java.io.Serializable key,
java.lang.Object val)
Constructor for the CacheElement object |
|
CacheElement(java.lang.String cacheName,
java.io.Serializable key,
java.io.Serializable val)
Constructor for the CacheElement object |
Method Summary | |
java.lang.String |
getCacheName()
Gets the cacheName attribute of the CacheElement object |
IElementAttributes |
getElementAttributes()
Gets the IElementAttributes attribute of the CacheElement object |
java.io.Serializable |
getKey()
Gets the key attribute of the CacheElement object |
java.io.Serializable |
getVal()
Gets the val attribute of the CacheElement object |
int |
hashCode()
Description of the Method |
void |
setElementAttributes(IElementAttributes attr)
Sets the attributes attribute of the CacheElement object |
java.lang.String |
toString()
Description of the Method |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public final java.lang.String cacheName
public final java.io.Serializable key
public final java.io.Serializable val
public ElementAttributes attr
Constructor Detail |
public CacheElement(java.lang.String cacheName, java.io.Serializable key, java.io.Serializable val)
cacheName
- key
- val
- public CacheElement(java.lang.String cacheName, java.io.Serializable key, java.lang.Object val)
cacheName
- key
- val
- Method Detail |
public java.lang.String getCacheName()
getCacheName
in interface ICacheElement
public java.io.Serializable getKey()
getKey
in interface ICacheElement
public java.io.Serializable getVal()
getVal
in interface ICacheElement
public void setElementAttributes(IElementAttributes attr)
setElementAttributes
in interface ICacheElement
attr
- The new IElementAttributes valuepublic IElementAttributes getElementAttributes()
getElementAttributes
in interface ICacheElement
public int hashCode()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |