Class HotRodEntryMarshaller
java.lang.Object
org.infinispan.persistence.remote.wrapper.HotRodEntryMarshaller
- All Implemented Interfaces:
org.infinispan.commons.marshall.Marshaller
@Deprecated(forRemoval=true)
public class HotRodEntryMarshaller
extends Object
implements org.infinispan.commons.marshall.Marshaller
Deprecated, for removal: This API element is subject to removal in a future version.
HotRodEntryMarshaller.
- Since:
- 5.2
- Author:
- Tristan Tarrant
-
Constructor Summary
ConstructorsConstructorDescriptionHotRodEntryMarshaller(org.infinispan.commons.io.ByteBufferFactory byteBufferFactory) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionorg.infinispan.commons.marshall.BufferSizePredictorDeprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.org.infinispan.commons.dataconversion.MediaTypeDeprecated, for removal: This API element is subject to removal in a future version.objectFromByteBuffer(byte[] buf) Deprecated, for removal: This API element is subject to removal in a future version.objectFromByteBuffer(byte[] buf, int offset, int length) Deprecated, for removal: This API element is subject to removal in a future version.org.infinispan.commons.io.ByteBufferDeprecated, for removal: This API element is subject to removal in a future version.byte[]objectToByteBuffer(Object obj) Deprecated, for removal: This API element is subject to removal in a future version.byte[]objectToByteBuffer(Object obj, int estimatedSize) Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
objectToByteBuffer
public byte[] objectToByteBuffer(Object obj, int estimatedSize) throws IOException, InterruptedException Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
objectToByteBufferin interfaceorg.infinispan.commons.marshall.Marshaller- Throws:
IOExceptionInterruptedException
-
objectToByteBuffer
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
objectToByteBufferin interfaceorg.infinispan.commons.marshall.Marshaller- Throws:
IOExceptionInterruptedException
-
objectFromByteBuffer
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
objectFromByteBufferin interfaceorg.infinispan.commons.marshall.Marshaller- Throws:
IOExceptionClassNotFoundException
-
objectFromByteBuffer
public Object objectFromByteBuffer(byte[] buf, int offset, int length) throws IOException, ClassNotFoundException Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
objectFromByteBufferin interfaceorg.infinispan.commons.marshall.Marshaller- Throws:
IOExceptionClassNotFoundException
-
objectToBuffer
public org.infinispan.commons.io.ByteBuffer objectToBuffer(Object o) throws IOException, InterruptedException Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
objectToBufferin interfaceorg.infinispan.commons.marshall.Marshaller- Throws:
IOExceptionInterruptedException
-
isMarshallable
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isMarshallablein interfaceorg.infinispan.commons.marshall.Marshaller- Throws:
Exception
-
getBufferSizePredictor
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getBufferSizePredictorin interfaceorg.infinispan.commons.marshall.Marshaller
-
mediaType
public org.infinispan.commons.dataconversion.MediaType mediaType()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
mediaTypein interfaceorg.infinispan.commons.marshall.Marshaller
-
IdentityMarshallerinstead.