Class GlobalMarshallerEncoder
java.lang.Object
org.infinispan.commons.dataconversion.MarshallerEncoder
org.infinispan.commons.dataconversion.GlobalMarshallerEncoder
- All Implemented Interfaces:
Encoder
Deprecated, for removal: This API element is subject to removal in a future version.
Since 11.0, will be removed with ISPN-9622
Encoder that uses the GlobalMarshaller to encode/decode data.
- Since:
- 9.2
-
Constructor Summary
ConstructorsConstructorDescriptionGlobalMarshallerEncoder(Marshaller globalMarshaller) 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 theMediaTypeproduced by this encoder or null if the storage format is not known.shortid()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
-
GlobalMarshallerEncoder
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:EncoderReturns theMediaTypeproduced 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:EncoderEach encoder is associated with an unique id in order to optimize serialization. Known ids are kept inEncoderIds.- Returns:
- unique identifier for this encoder
-