public class SerializationConversionUtil
extends java.lang.Object
Constructor and Description |
---|
SerializationConversionUtil() |
Modifier and Type | Method and Description |
---|---|
static ICacheElement |
getDeSerializedCacheElement(ICacheElementSerialized serialized,
IElementSerializer elementSerializer)
This returns a wrapper that has a de-serialized version of the value
instead of the serialized value.
|
static ICacheElementSerialized |
getSerializedCacheElement(ICacheElement element,
IElementSerializer elementSerializer)
This returns a wrapper that has a serialized version of the value instead
of the value.
|
public static ICacheElementSerialized getSerializedCacheElement(ICacheElement element, IElementSerializer elementSerializer) throws java.io.IOException
element
- elementSerializer
- the serializer to be used.java.io.IOException
public static ICacheElement getDeSerializedCacheElement(ICacheElementSerialized serialized, IElementSerializer elementSerializer) throws java.io.IOException, java.lang.ClassNotFoundException
serialized
- elementSerializer
- the serializer to be used.java.io.IOException
java.lang.ClassNotFoundException
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.