Class ProtoStreamByteBufferMarshaller
- java.lang.Object
-
- org.wildfly.clustering.marshalling.protostream.ProtoStreamByteBufferMarshaller
-
- All Implemented Interfaces:
ByteBufferMarshaller,Marshallability,Marshaller<Object,ByteBuffer>
public class ProtoStreamByteBufferMarshaller extends Object implements ByteBufferMarshaller
- Author:
- Paul Ferraro
-
-
Field Summary
-
Fields inherited from interface org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller
LOGGER
-
-
Constructor Summary
Constructors Constructor Description ProtoStreamByteBufferMarshaller(org.infinispan.protostream.ImmutableSerializationContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisMarshallable(Object object)ObjectreadFrom(InputStream input)OptionalIntsize(Object object)voidwriteTo(OutputStream output, Object object)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller
read, write
-
-
-
-
Method Detail
-
size
public OptionalInt size(Object object)
- Specified by:
sizein interfaceByteBufferMarshaller
-
isMarshallable
public boolean isMarshallable(Object object)
- Specified by:
isMarshallablein interfaceMarshallability
-
readFrom
public Object readFrom(InputStream input) throws IOException
- Specified by:
readFromin interfaceByteBufferMarshaller- Throws:
IOException
-
writeTo
public void writeTo(OutputStream output, Object object) throws IOException
- Specified by:
writeToin interfaceByteBufferMarshaller- Throws:
IOException
-
-