Class ProtoStreamByteBufferMarshaller
java.lang.Object
org.wildfly.clustering.marshalling.protostream.ProtoStreamByteBufferMarshaller
- All Implemented Interfaces:
Predicate<Object>, org.wildfly.clustering.function.Predicate<Object>, org.wildfly.clustering.marshalling.ByteBufferMarshaller, org.wildfly.clustering.marshalling.Marshaller<Object, ByteBuffer>
public class ProtoStreamByteBufferMarshaller
extends Object
implements org.wildfly.clustering.marshalling.ByteBufferMarshaller
A ProtoStream byte buffer marshaller.
- Author:
- Paul Ferraro
-
Field Summary
Fields inherited from interface org.wildfly.clustering.function.Predicate
ALWAYS, NEVER -
Constructor Summary
ConstructorsConstructorDescriptionProtoStreamByteBufferMarshaller(org.infinispan.protostream.ImmutableSerializationContext context) Constructs a new ProtoStream marshaller using the specified context -
Method Summary
Modifier and TypeMethodDescriptionreadFrom(InputStream input) booleantoString()voidwriteTo(OutputStream output, Object object) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.wildfly.clustering.marshalling.ByteBufferMarshaller
read, writeMethods inherited from interface org.wildfly.clustering.function.Predicate
and, compose, composeBinary, composeDouble, composeInt, composeLong, handle, negate, or, xor
-
Constructor Details
-
ProtoStreamByteBufferMarshaller
public ProtoStreamByteBufferMarshaller(org.infinispan.protostream.ImmutableSerializationContext context) Constructs a new ProtoStream marshaller using the specified context- Parameters:
context- a serialization context
-
-
Method Details
-
size
- Specified by:
sizein interfaceorg.wildfly.clustering.marshalling.ByteBufferMarshaller
-
test
-
readFrom
- Specified by:
readFromin interfaceorg.wildfly.clustering.marshalling.ByteBufferMarshaller- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceorg.wildfly.clustering.marshalling.ByteBufferMarshaller- Throws:
IOException
-
toString
-