Class DefaultProtoStreamSizeOperation

java.lang.Object
org.wildfly.clustering.marshalling.protostream.AbstractProtoStreamOperation
org.wildfly.clustering.marshalling.protostream.DefaultProtoStreamSizeOperation
All Implemented Interfaces:
org.infinispan.protostream.ProtobufTagMarshaller.OperationContext, ProtoStreamOperation, ProtoStreamSizeOperation

public class DefaultProtoStreamSizeOperation extends AbstractProtoStreamOperation implements ProtoStreamSizeOperation
A default ProtoStream size operation.
Author:
Paul Ferraro
  • Constructor Details

    • DefaultProtoStreamSizeOperation

      public DefaultProtoStreamSizeOperation(org.infinispan.protostream.ImmutableSerializationContext context)
      Creates a new ProtoStream size operation using a new context.
      Parameters:
      context - the serialization context
    • DefaultProtoStreamSizeOperation

      public DefaultProtoStreamSizeOperation(org.infinispan.protostream.ImmutableSerializationContext context, org.wildfly.clustering.marshalling.protostream.AbstractProtoStreamWriter.ProtoStreamWriterContext writerContext)
      Creates a new ProtoStream size operation using the specified context.
      Parameters:
      context - the serialization context
      sizeContext - the context of the size operation
  • Method Details