Interface ICacheElementSerialized<K,V>
- All Superinterfaces:
ICacheElement<K,
,V> Serializable
- All Known Implementing Classes:
CacheElementSerialized
This interface defines the behavior of the serialized element wrapper.
The value is stored as a byte array. This should allow for a variety of serialization mechanisms.
This currently extends ICacheElement<K, V> for backward compatibility.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Gets the value attribute of the ICacheElementSerialized object.Methods inherited from interface org.apache.commons.jcs3.engine.behavior.ICacheElement
getCacheName, getElementAttributes, getKey, getVal, setElementAttributes
-
Method Details
-
getSerializedValue
byte[] getSerializedValue()Gets the value attribute of the ICacheElementSerialized object. This is the value the client cached serialized by some mechanism.- Returns:
- The serialized value
-