|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jcs.engine.CacheElementSerialized
Either serialized value or the value should be null;
| Constructor Summary | |
CacheElementSerialized(java.lang.String cacheNameArg,
java.io.Serializable keyArg,
byte[] serializedValueArg,
IElementAttributes elementAttributesArg)
|
|
| 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 ICacheElementSerialized object. |
byte[] |
getSerializedValue()
Gets the value attribute of the ICacheElementSerialized object. |
java.io.Serializable |
getVal()
Backward compatibility. |
void |
setElementAttributes(IElementAttributes attr)
Sets the attributes attribute of the ICacheElement object |
java.lang.String |
toString()
For debugging only. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CacheElementSerialized(java.lang.String cacheNameArg,
java.io.Serializable keyArg,
byte[] serializedValueArg,
IElementAttributes elementAttributesArg)
cacheNameArg - keyArg - serializedValueArg - elementAttributesArg - | Method Detail |
public java.lang.String getCacheName()
ICacheElementSerialized
getCacheName in interface ICacheElementSerializedpublic java.io.Serializable getKey()
ICacheElementSerialized
getKey in interface ICacheElementSerializedpublic byte[] getSerializedValue()
ICacheElementSerialized
getSerializedValue in interface ICacheElementSerializedpublic IElementAttributes getElementAttributes()
ICacheElementSerialized
getElementAttributes in interface ICacheElementSerializedpublic void setElementAttributes(IElementAttributes attr)
ICacheElementSerialized
setElementAttributes in interface ICacheElementSerializedattr - The new attributes valuepublic java.io.Serializable getVal()
getVal in interface ICacheElementpublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||