public class CacheElementSerialized extends java.lang.Object implements ICacheElementSerialized
| Constructor and Description |
|---|
CacheElementSerialized(java.lang.String cacheNameArg,
java.io.Serializable keyArg,
byte[] serializedValueArg,
IElementAttributes elementAttributesArg)
Constructs a usable wrapper.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCacheName()
Returns the name of the cache.
|
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.
|
public CacheElementSerialized(java.lang.String cacheNameArg,
java.io.Serializable keyArg,
byte[] serializedValueArg,
IElementAttributes elementAttributesArg)
cacheNameArg - keyArg - serializedValueArg - elementAttributesArg - public java.lang.String getCacheName()
getCacheName in interface ICacheElementgetCacheName in interface ICacheElementSerializedpublic java.io.Serializable getKey()
ICacheElementSerializedgetKey in interface ICacheElementgetKey in interface ICacheElementSerializedpublic byte[] getSerializedValue()
ICacheElementSerializedgetSerializedValue in interface ICacheElementSerializedpublic IElementAttributes getElementAttributes()
ICacheElementSerializedgetElementAttributes in interface ICacheElementgetElementAttributes in interface ICacheElementSerializedpublic void setElementAttributes(IElementAttributes attr)
ICacheElementSerializedsetElementAttributes in interface ICacheElementsetElementAttributes in interface ICacheElementSerializedattr - public java.io.Serializable getVal()
getVal in interface ICacheElementpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2002-2013 Apache Software Foundation. All Rights Reserved.