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.UseIdentityMarshallerinstead.HotRodEntryMarshaller.- Since:
- 5.2
- Author:
- Tristan Tarrant
-
-
Constructor Summary
Constructors Constructor Description HotRodEntryMarshaller(org.infinispan.commons.io.ByteBufferFactory byteBufferFactory)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.infinispan.commons.marshall.BufferSizePredictorgetBufferSizePredictor(Object o)Deprecated.booleanisMarshallable(Object o)Deprecated.org.infinispan.commons.dataconversion.MediaTypemediaType()Deprecated.ObjectobjectFromByteBuffer(byte[] buf)Deprecated.ObjectobjectFromByteBuffer(byte[] buf, int offset, int length)Deprecated.org.infinispan.commons.io.ByteBufferobjectToBuffer(Object o)Deprecated.byte[]objectToByteBuffer(Object obj)Deprecated.byte[]objectToByteBuffer(Object obj, int estimatedSize)Deprecated.
-
-
-
Method Detail
-
objectToByteBuffer
public byte[] objectToByteBuffer(Object obj, int estimatedSize) throws IOException, InterruptedException
Deprecated.- Specified by:
objectToByteBufferin interfaceorg.infinispan.commons.marshall.Marshaller- Throws:
IOExceptionInterruptedException
-
objectToByteBuffer
public byte[] objectToByteBuffer(Object obj) throws IOException, InterruptedException
Deprecated.- Specified by:
objectToByteBufferin interfaceorg.infinispan.commons.marshall.Marshaller- Throws:
IOExceptionInterruptedException
-
objectFromByteBuffer
public Object objectFromByteBuffer(byte[] buf) throws IOException, ClassNotFoundException
Deprecated.- Specified by:
objectFromByteBufferin interfaceorg.infinispan.commons.marshall.Marshaller- Throws:
IOExceptionClassNotFoundException
-
objectFromByteBuffer
public Object objectFromByteBuffer(byte[] buf, int offset, int length) throws IOException, ClassNotFoundException
Deprecated.- Specified by:
objectFromByteBufferin interfaceorg.infinispan.commons.marshall.Marshaller- Throws:
IOExceptionClassNotFoundException
-
objectToBuffer
public org.infinispan.commons.io.ByteBuffer objectToBuffer(Object o) throws IOException, InterruptedException
Deprecated.- Specified by:
objectToBufferin interfaceorg.infinispan.commons.marshall.Marshaller- Throws:
IOExceptionInterruptedException
-
isMarshallable
public boolean isMarshallable(Object o) throws Exception
Deprecated.- Specified by:
isMarshallablein interfaceorg.infinispan.commons.marshall.Marshaller- Throws:
Exception
-
getBufferSizePredictor
public org.infinispan.commons.marshall.BufferSizePredictor getBufferSizePredictor(Object o)
Deprecated.- Specified by:
getBufferSizePredictorin interfaceorg.infinispan.commons.marshall.Marshaller
-
mediaType
public org.infinispan.commons.dataconversion.MediaType mediaType()
Deprecated.- Specified by:
mediaTypein interfaceorg.infinispan.commons.marshall.Marshaller
-
-