Class ProtoStreamByteBufferMarshaller
java.lang.Object
org.wildfly.clustering.marshalling.protostream.ProtoStreamByteBufferMarshaller
- All Implemented Interfaces:
ByteBufferMarshaller,Marshallability,Marshaller<Object,ByteBuffer>
- Author:
- Paul Ferraro
-
Field Summary
Fields inherited from interface org.wildfly.clustering.marshalling.ByteBufferMarshaller
LOGGERFields inherited from interface org.wildfly.clustering.marshalling.Marshallability
TRUE -
Constructor Summary
ConstructorsConstructorDescriptionProtoStreamByteBufferMarshaller(org.infinispan.protostream.ImmutableSerializationContext context) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisMarshallable(Object object) readFrom(InputStream input) toString()voidwriteTo(OutputStream output, Object object) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.wildfly.clustering.marshalling.ByteBufferMarshaller
read, write
-
Constructor Details
-
ProtoStreamByteBufferMarshaller
public ProtoStreamByteBufferMarshaller(org.infinispan.protostream.ImmutableSerializationContext context)
-
-
Method Details
-
size
- Specified by:
sizein interfaceByteBufferMarshaller
-
isMarshallable
- Specified by:
isMarshallablein interfaceMarshallability
-
readFrom
- Specified by:
readFromin interfaceByteBufferMarshaller- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceByteBufferMarshaller- Throws:
IOException
-
toString
-