Class JavaSerializationEncoder
java.lang.Object
org.infinispan.commons.dataconversion.MarshallerEncoder
org.infinispan.commons.dataconversion.JavaSerializationEncoder
- All Implemented Interfaces:
Encoder
Deprecated, for removal: This API element is subject to removal in a future version.
Since 11.0, will be removed in 14.0. Set the storage media type and use transcoding instead.
Encoder based on the default java serialization.
- Since:
- 9.1
-
Constructor Summary
ConstructorDescriptionJavaSerializationEncoder
(ClassAllowList classAllowList) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Returns theMediaType
produced by this encoder or null if the storage format is not known.short
id()
Deprecated, for removal: This API element is subject to removal in a future version.Each encoder is associated with an unique id in order to optimize serialization.Methods inherited from class org.infinispan.commons.dataconversion.MarshallerEncoder
fromStorage, isStorageFormatFilterable, marshall, toStorage, unmarshall
-
Constructor Details
-
JavaSerializationEncoder
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getStorageFormat
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:Encoder
Returns theMediaType
produced by this encoder or null if the storage format is not known. -
id
public short id()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:Encoder
Each encoder is associated with an unique id in order to optimize serialization. Known ids are kept inEncoderIds
.- Returns:
- unique identifier for this encoder
-