Class GenericJbossMarshallerEncoder

java.lang.Object
org.infinispan.commons.dataconversion.MarshallerEncoder
org.infinispan.jboss.marshalling.dataconversion.GenericJbossMarshallerEncoder
All Implemented Interfaces:
Encoder

@Deprecated(forRemoval=true) public class GenericJbossMarshallerEncoder extends MarshallerEncoder
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.
Since:
9.1
  • Constructor Details

    • GenericJbossMarshallerEncoder

      public GenericJbossMarshallerEncoder(GenericJBossMarshaller marshaller)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • GenericJbossMarshallerEncoder

      public GenericJbossMarshallerEncoder(ClassLoader classLoader)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getStorageFormat

      public MediaType getStorageFormat()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: Encoder
      Returns the MediaType 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 in EncoderIds.
      Returns:
      unique identifier for this encoder