Class GenericJbossMarshallerEncoder
- java.lang.Object
-
- org.infinispan.commons.dataconversion.MarshallerEncoder
-
- org.infinispan.commons.dataconversion.GenericJbossMarshallerEncoder
-
- All Implemented Interfaces:
Encoder
public class GenericJbossMarshallerEncoder extends MarshallerEncoder
- Since:
- 9.1
-
-
Constructor Summary
Constructors Constructor Description GenericJbossMarshallerEncoder(GenericJBossMarshaller marshaller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MediaTypegetStorageFormat()Returns theMediaTypeproduced by this encoder or null if the storage format is not known.shortid()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
-
GenericJbossMarshallerEncoder
public GenericJbossMarshallerEncoder(GenericJBossMarshaller marshaller)
-
-
Method Detail
-
getStorageFormat
public MediaType getStorageFormat()
Description copied from interface:EncoderReturns theMediaTypeproduced by this encoder or null if the storage format is not known.
-
id
public short id()
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
-
-