Class ProtoStreamByteBufferMarshaller
java.lang.Object
org.wildfly.clustering.marshalling.AbstractByteBufferMarshaller
org.wildfly.clustering.marshalling.protostream.ProtoStreamByteBufferMarshaller
- All Implemented Interfaces:
ByteBufferMarshaller, Marshallability, Marshaller<Object, ByteBuffer>
- Author:
- Paul Ferraro
-
Field Summary
Fields inherited from interface ByteBufferMarshaller
LOGGERFields inherited from interface Marshallability
TRUE -
Constructor Summary
ConstructorsConstructorDescriptionProtoStreamByteBufferMarshaller(org.infinispan.protostream.ImmutableSerializationContext context) ProtoStreamByteBufferMarshaller(org.infinispan.protostream.ImmutableSerializationContext context, ClassLoader loader) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisMarshallable(Object object) readFrom(InputStream input) toString()voidwriteTo(OutputStream output, Object object) Methods inherited from class AbstractByteBufferMarshaller
read, write
-
Constructor Details
-
ProtoStreamByteBufferMarshaller
public ProtoStreamByteBufferMarshaller(org.infinispan.protostream.ImmutableSerializationContext context) -
ProtoStreamByteBufferMarshaller
public ProtoStreamByteBufferMarshaller(org.infinispan.protostream.ImmutableSerializationContext context, ClassLoader loader)
-
-
Method Details
-
size
- Specified by:
sizein interfaceByteBufferMarshaller- Overrides:
sizein classAbstractByteBufferMarshaller
-
isMarshallable
-
readFrom
- Throws:
IOException
-
writeTo
- Throws:
IOException
-
toString
-