Class JavaSerializationEncoder

java.lang.Object
org.infinispan.commons.dataconversion.MarshallerEncoder
org.infinispan.commons.dataconversion.JavaSerializationEncoder
All Implemented Interfaces:
Encoder

@Deprecated(forRemoval=true) public class JavaSerializationEncoder 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.
Encoder based on the default java serialization.
Since:
9.1
  • Constructor Details

    • JavaSerializationEncoder

      public JavaSerializationEncoder(ClassAllowList classAllowList)
      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