Class HotRodEntryMarshaller

java.lang.Object
org.infinispan.persistence.remote.wrapper.HotRodEntryMarshaller
All Implemented Interfaces:
org.infinispan.commons.marshall.Marshaller

@Deprecated public class HotRodEntryMarshaller extends Object implements org.infinispan.commons.marshall.Marshaller
Deprecated.
Use IdentityMarshaller instead.
HotRodEntryMarshaller.
Since:
5.2
Author:
Tristan Tarrant
  • Constructor Details

    • HotRodEntryMarshaller

      public HotRodEntryMarshaller(org.infinispan.commons.io.ByteBufferFactory byteBufferFactory)
      Deprecated.
  • Method Details

    • objectToByteBuffer

      public byte[] objectToByteBuffer(Object obj, int estimatedSize) throws IOException, InterruptedException
      Deprecated.
      Specified by:
      objectToByteBuffer in interface org.infinispan.commons.marshall.Marshaller
      Throws:
      IOException
      InterruptedException
    • objectToByteBuffer

      public byte[] objectToByteBuffer(Object obj) throws IOException, InterruptedException
      Deprecated.
      Specified by:
      objectToByteBuffer in interface org.infinispan.commons.marshall.Marshaller
      Throws:
      IOException
      InterruptedException
    • objectFromByteBuffer

      public Object objectFromByteBuffer(byte[] buf) throws IOException, ClassNotFoundException
      Deprecated.
      Specified by:
      objectFromByteBuffer in interface org.infinispan.commons.marshall.Marshaller
      Throws:
      IOException
      ClassNotFoundException
    • objectFromByteBuffer

      public Object objectFromByteBuffer(byte[] buf, int offset, int length) throws IOException, ClassNotFoundException
      Deprecated.
      Specified by:
      objectFromByteBuffer in interface org.infinispan.commons.marshall.Marshaller
      Throws:
      IOException
      ClassNotFoundException
    • objectToBuffer

      public org.infinispan.commons.io.ByteBuffer objectToBuffer(Object o) throws IOException, InterruptedException
      Deprecated.
      Specified by:
      objectToBuffer in interface org.infinispan.commons.marshall.Marshaller
      Throws:
      IOException
      InterruptedException
    • isMarshallable

      public boolean isMarshallable(Object o) throws Exception
      Deprecated.
      Specified by:
      isMarshallable in interface org.infinispan.commons.marshall.Marshaller
      Throws:
      Exception
    • getBufferSizePredictor

      public org.infinispan.commons.marshall.BufferSizePredictor getBufferSizePredictor(Object o)
      Deprecated.
      Specified by:
      getBufferSizePredictor in interface org.infinispan.commons.marshall.Marshaller
    • mediaType

      public org.infinispan.commons.dataconversion.MediaType mediaType()
      Deprecated.
      Specified by:
      mediaType in interface org.infinispan.commons.marshall.Marshaller