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 ICacheElement
getCacheName
in interface ICacheElementSerialized
public java.io.Serializable getKey()
ICacheElementSerialized
getKey
in interface ICacheElement
getKey
in interface ICacheElementSerialized
public byte[] getSerializedValue()
ICacheElementSerialized
getSerializedValue
in interface ICacheElementSerialized
public IElementAttributes getElementAttributes()
ICacheElementSerialized
getElementAttributes
in interface ICacheElement
getElementAttributes
in interface ICacheElementSerialized
public void setElementAttributes(IElementAttributes attr)
ICacheElementSerialized
setElementAttributes
in interface ICacheElement
setElementAttributes
in interface ICacheElementSerialized
attr
- public java.io.Serializable getVal()
getVal
in interface ICacheElement
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.