Package org.infinispan.hotrod.marshall
Class BytesOnlyMarshaller
java.lang.Object
org.infinispan.hotrod.marshall.BytesOnlyMarshaller
- All Implemented Interfaces:
org.infinispan.commons.marshall.Marshaller
public class BytesOnlyMarshaller
extends Object
implements org.infinispan.commons.marshall.Marshaller
Marshaller that only supports byte[] instances writing them as is
- Since:
- 14.0
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionorg.infinispan.commons.marshall.BufferSizePredictorbooleanorg.infinispan.commons.dataconversion.MediaTypeobjectFromByteBuffer(byte[] buf) objectFromByteBuffer(byte[] buf, int offset, int length) org.infinispan.commons.io.ByteBufferbyte[]objectToByteBuffer(Object obj) byte[]objectToByteBuffer(Object obj, int estimatedSize) 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
-
Field Details
-
INSTANCE
-
-
Method Details
-
objectToByteBuffer
- Specified by:
objectToByteBufferin interfaceorg.infinispan.commons.marshall.Marshaller
-
objectToByteBuffer
- Specified by:
objectToByteBufferin interfaceorg.infinispan.commons.marshall.Marshaller
-
objectFromByteBuffer
- Specified by:
objectFromByteBufferin interfaceorg.infinispan.commons.marshall.Marshaller
-
objectFromByteBuffer
- Specified by:
objectFromByteBufferin interfaceorg.infinispan.commons.marshall.Marshaller
-
objectToBuffer
- Specified by:
objectToBufferin interfaceorg.infinispan.commons.marshall.Marshaller
-
isMarshallable
- Specified by:
isMarshallablein interfaceorg.infinispan.commons.marshall.Marshaller
-
getBufferSizePredictor
- Specified by:
getBufferSizePredictorin interfaceorg.infinispan.commons.marshall.Marshaller
-
mediaType
public org.infinispan.commons.dataconversion.MediaType mediaType()- Specified by:
mediaTypein interfaceorg.infinispan.commons.marshall.Marshaller
-