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>
- All Known Subinterfaces:
ProtoStreamMarshallerProvider
- All Known Implementing Classes:
AbstractCollectionMarshaller,AbstractMapMarshaller,AnyMarshaller,AtomicMarshallerProvider,BigDecimalMarshaller,CalendarMarshaller,ClassMarshaller,CollectionMarshaller,ConcurrentMapMarshaller,ConcurrentMarshallerProvider,ConcurrentSortedMapMarshaller,CopyOnWriteCollectionMarshaller,DecoratorMarshaller,EnumMapMarshaller,EnumMarshaller,EnumMarshallerAdapter,EnumSetMarshaller,ExceptionMarshaller,FunctionalFieldSetMarshaller,FunctionalMarshaller,FunctionalScalarMarshaller,InetSocketAddressMarshaller,InstantMarshaller,LinkedHashMapMarshaller,LocalDateTimeMarshaller,MapEntryMarshaller,MapMarshaller,MarshallingMarshallerProvider,MathContextMarshaller,MathMarshallerProvider,MonthDayMarshaller,NetMarshallerProvider,OffsetDateTimeMarshaller,OffsetTimeMarshaller,OptionalMarshaller,PeriodMarshaller,ProtoStreamBuilderFieldSetMarshaller,ProtoStreamMarshallerAdapter,SimpleFieldSetMarshaller,SimpleFunctionalMarshaller,SingletonCollectionMarshaller,SingletonMapMarshaller,SortedMapMarshaller,SortedSetMarshaller,SQLMarshallerProvider,StackTraceElementMarshaller,SynchronizedDecoratorMarshaller,TimeMarshallerProvider,UnmodifiableCollectionMarshaller,UnmodifiableMapMarshaller,URIMarshaller,URLMarshaller,UtilMarshallerProvider,ValueMarshaller,YearMonthMarshaller,ZonedDateTimeMarshaller
public interface ProtoStreamMarshaller<T> extends org.infinispan.protostream.ProtobufTagMarshaller<T>, Marshallable<T>
AProtobufTagMarshallerthat include a facility for computing buffer sizes.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default StringgetTypeName()default Tread(org.infinispan.protostream.ProtobufTagMarshaller.ReadContext context)default voidwrite(org.infinispan.protostream.ProtobufTagMarshaller.WriteContext context, T value)-
Methods inherited from interface org.wildfly.clustering.marshalling.protostream.Marshallable
getJavaClass, readFrom, writeTo
-
-
-
-
Method Detail
-
getTypeName
default String getTypeName()
- Specified by:
getTypeNamein interfaceorg.infinispan.protostream.BaseMarshaller<T>
-
read
default T read(org.infinispan.protostream.ProtobufTagMarshaller.ReadContext context) throws IOException
- Specified by:
readin interfaceorg.infinispan.protostream.ProtobufTagMarshaller<T>- Throws:
IOException
-
write
default void write(org.infinispan.protostream.ProtobufTagMarshaller.WriteContext context, T value) throws IOException- Specified by:
writein interfaceorg.infinispan.protostream.ProtobufTagMarshaller<T>- Throws:
IOException
-
-