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

    Constructors
    Constructor
    Description
    ProtoStreamByteBufferMarshaller(org.infinispan.protostream.ImmutableSerializationContext context)
    Constructs a new ProtoStream marshaller using the specified context
  • Method Summary

    Modifier and Type
    Method
    Description
     
    size(Object object)
     
    boolean
    test(Object object)
     
     
    void
    writeTo(OutputStream output, Object object)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.wildfly.clustering.marshalling.ByteBufferMarshaller

    read, write

    Methods 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