Class SerializingInternalConverter<T>
java.lang.Object
com.tangosol.coherence.jcache.common.SerializingInternalConverter<T>
- Type Parameters:
T- the type of value to convert
- All Implemented Interfaces:
InternalConverter<T>
An
InternalConverter that converts values to and from their
Coherence-based serialized Binary representation.- Since:
- Coherence 12.1.3
- Author:
- jf 2013.10.24
-
Constructor Summary
ConstructorsConstructorDescriptionSerializingInternalConverter(Serializer serializer) Constructs aSerializingInternalConverter. -
Method Summary
Modifier and TypeMethodDescriptionfromInternal(Object object) Converts an internal representation of a value to a value.toInternal(T value) Converts a value to an internal representation.
-
Constructor Details
-
SerializingInternalConverter
Constructs aSerializingInternalConverter.- Parameters:
serializer- theSerializerto use for conversion
-
-
Method Details
-
toInternal
Description copied from interface:InternalConverterConverts a value to an internal representation.- Specified by:
toInternalin interfaceInternalConverter<T>- Parameters:
value- the value to convert- Returns:
- an internal representation of the value
-
fromInternal
Description copied from interface:InternalConverterConverts an internal representation of a value to a value.- Specified by:
fromInternalin interfaceInternalConverter<T>- Parameters:
object- the internal representation of the value- Returns:
- the value
-