Interface ProtoStreamMarshaller<T>

Type Parameters:
T - the type of this marshaller.
All Superinterfaces:
org.infinispan.protostream.BaseMarshaller<T>, Marshallable<T>, org.infinispan.protostream.ProtobufTagMarshaller<T>, Readable<T>, Writable<T>
All Known Subinterfaces:
ProtoStreamMarshallerProvider
All Known Implementing Classes:
AbstractCollectionMarshaller, AbstractMapMarshaller, AbstractMemberMarshaller, AnyMarshaller, AtomicMarshallerProvider, BigDecimalMarshaller, BinaryFieldMarshaller, BinaryMemberMarshaller, BinaryMethodMarshaller, ByteBufferMarshalledKeyMarshaller, ByteBufferMarshalledValueMarshaller, CalendarMarshaller, ClassMarshaller, CollectionMarshaller, ConcurrentMapMarshaller, ConcurrentMarshallerProvider, ConcurrentSortedMapMarshaller, CopyOnWriteCollectionMarshaller, DecoratorMarshaller, EnumMapMarshaller, EnumMarshaller, EnumMarshallerAdapter, ExceptionMarshaller, FieldMarshaller, FieldSetProtoStreamMarshaller, FunctionalMarshaller, FunctionalScalarMarshaller, InetSocketAddressMarshaller, InstantMarshaller, LinkedHashMapMarshaller, LocalDateTimeMarshaller, MapEntryMarshaller, MapMarshaller, MarshallingMarshallerProvider, MathContextMarshaller, MathMarshallerProvider, MonthDayMarshaller, NetMarshallerProvider, OffsetDateTimeMarshaller, OffsetTimeMarshaller, OptionalMarshaller, PeriodMarshaller, ProtoStreamMarshallerAdapter, ProxyMarshaller, SimpleFunctionalMarshaller, SingletonCollectionMarshaller, SingletonMapMarshaller, SortedMapMarshaller, SortedSetMarshaller, SQLMarshallerProvider, StackTraceElementMarshaller, SynchronizedDecoratorMarshaller, TernaryFieldMarshaller, TernaryMemberMarshaller, TernaryMethodMarshaller, TimeMarshallerProvider, UnaryFieldMarshaller, UnaryMemberMarshaller, UnaryMethodMarshaller, UnmodifiableCollectionMarshaller, UnmodifiableMapMarshaller, URIMarshaller, URLMarshaller, UtilMarshallerProvider, ValueMarshaller, YearMonthMarshaller, ZonedDateTimeMarshaller

public interface ProtoStreamMarshaller<T> extends org.infinispan.protostream.ProtobufTagMarshaller<T>, Marshallable<T>
A ProtobufTagMarshaller that include a facility for computing buffer sizes.
Author:
Paul Ferraro
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.infinispan.protostream.ProtobufTagMarshaller

    org.infinispan.protostream.ProtobufTagMarshaller.OperationContext, org.infinispan.protostream.ProtobufTagMarshaller.ReadContext, org.infinispan.protostream.ProtobufTagMarshaller.WriteContext
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
     
    default T
    read(org.infinispan.protostream.ProtobufTagMarshaller.ReadContext context)
     
    default void
    write(org.infinispan.protostream.ProtobufTagMarshaller.WriteContext context, T value)
     

    Methods inherited from interface org.infinispan.protostream.BaseMarshaller

    getJavaClass

    Methods inherited from interface org.wildfly.clustering.marshalling.protostream.Marshallable

    getJavaClass, size

    Methods inherited from interface org.wildfly.clustering.marshalling.protostream.Readable

    readFrom

    Methods inherited from interface org.wildfly.clustering.marshalling.protostream.Writable

    writeTo
  • Method Details

    • getTypeName

      default String getTypeName()
      Specified by:
      getTypeName in interface org.infinispan.protostream.BaseMarshaller<T>
    • read

      default T read(org.infinispan.protostream.ProtobufTagMarshaller.ReadContext context) throws IOException
      Specified by:
      read in interface org.infinispan.protostream.ProtobufTagMarshaller<T>
      Throws:
      IOException
    • write

      default void write(org.infinispan.protostream.ProtobufTagMarshaller.WriteContext context, T value) throws IOException
      Specified by:
      write in interface org.infinispan.protostream.ProtobufTagMarshaller<T>
      Throws:
      IOException