Class JavaSerializationEncoder
- java.lang.Object
-
- org.infinispan.commons.dataconversion.MarshallerEncoder
-
- org.infinispan.commons.dataconversion.JavaSerializationEncoder
-
- All Implemented Interfaces:
Encoder
@Deprecated public class JavaSerializationEncoder extends MarshallerEncoder
Deprecated.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
Constructors Constructor Description JavaSerializationEncoder(ClassAllowList classAllowList)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MediaTypegetStorageFormat()Deprecated.Returns theMediaTypeproduced by this encoder or null if the storage format is not known.shortid()Deprecated.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 Detail
-
JavaSerializationEncoder
public JavaSerializationEncoder(ClassAllowList classAllowList)
Deprecated.
-
-
Method Detail
-
getStorageFormat
public MediaType getStorageFormat()
Deprecated.Description copied from interface:EncoderReturns theMediaTypeproduced by this encoder or null if the storage format is not known.
-
id
public short id()
Deprecated.Description copied from interface:EncoderEach encoder is associated with an unique id in order to optimize serialization. Known ids are kept inEncoderIds.- Returns:
- unique identifier for this encoder
-
-