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.
HotRodEntryMarshaller.
- Since:
- 5.2
- Author:
- Tristan Tarrant
-
Constructor Summary
ConstructorsConstructorDescriptionHotRodEntryMarshaller(org.infinispan.commons.io.ByteBufferFactory byteBufferFactory) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionorg.infinispan.commons.marshall.BufferSizePredictorDeprecated.booleanDeprecated.org.infinispan.commons.dataconversion.MediaTypeDeprecated.objectFromByteBuffer(byte[] buf) Deprecated.objectFromByteBuffer(byte[] buf, int offset, int length) Deprecated.org.infinispan.commons.io.ByteBufferDeprecated.byte[]objectToByteBuffer(Object obj) Deprecated.byte[]objectToByteBuffer(Object obj, int estimatedSize) Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.commons.marshall.Marshaller
initialize, start, stop
-
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:
objectToByteBufferin interfaceorg.infinispan.commons.marshall.Marshaller- Throws:
IOExceptionInterruptedException
-
objectToByteBuffer
Deprecated.- Specified by:
objectToByteBufferin interfaceorg.infinispan.commons.marshall.Marshaller- Throws:
IOExceptionInterruptedException
-
objectFromByteBuffer
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
Deprecated.- Specified by:
isMarshallablein interfaceorg.infinispan.commons.marshall.Marshaller- Throws:
Exception
-
getBufferSizePredictor
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
-
IdentityMarshallerinstead.