Class ProtostuffMarshaller
- java.lang.Object
-
- org.infinispan.commons.marshall.AbstractMarshaller
-
- org.infinispan.marshaller.protostuff.ProtostuffMarshaller
-
- All Implemented Interfaces:
org.infinispan.commons.marshall.Marshaller
@Deprecated public class ProtostuffMarshaller extends org.infinispan.commons.marshall.AbstractMarshaller
Deprecated.since 12.0 without a direct replacement, will be removed in 15.0 ISPN-12152- Since:
- 9.0
- Author:
- Ryan Emerson
-
-
Constructor Summary
Constructors Constructor Description ProtostuffMarshaller()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanisMarshallable(Object obj)Deprecated.org.infinispan.commons.dataconversion.MediaTypemediaType()Deprecated.ObjectobjectFromByteBuffer(byte[] bytes, int offset, int length)Deprecated.protected org.infinispan.commons.io.ByteBufferobjectToBuffer(Object obj, int estimatedSize)Deprecated.-
Methods inherited from class org.infinispan.commons.marshall.AbstractMarshaller
getBufferSizePredictor, objectFromByteBuffer, objectFromInputStream, objectToBuffer, objectToByteBuffer, objectToByteBuffer
-
-
-
-
Method Detail
-
objectFromByteBuffer
public Object objectFromByteBuffer(byte[] bytes, int offset, int length) throws IOException, ClassNotFoundException
Deprecated.- Throws:
IOExceptionClassNotFoundException
-
objectToBuffer
protected org.infinispan.commons.io.ByteBuffer objectToBuffer(Object obj, int estimatedSize) throws IOException, InterruptedException
Deprecated.- Specified by:
objectToBufferin classorg.infinispan.commons.marshall.AbstractMarshaller- Throws:
IOExceptionInterruptedException
-
isMarshallable
public boolean isMarshallable(Object obj) throws Exception
Deprecated.- Throws:
Exception
-
mediaType
public org.infinispan.commons.dataconversion.MediaType mediaType()
Deprecated.
-
-