T - the type of this marshaller.public interface ProtoStreamMarshaller<T> extends org.infinispan.protostream.RawProtobufMarshaller<T>, Marshallable<T>
RawProtobufMarshaller that include a facility for computing buffer sizes.| Modifier and Type | Method and Description |
|---|---|
default String |
getTypeName() |
default T |
readFrom(org.infinispan.protostream.ImmutableSerializationContext context,
org.infinispan.protostream.RawProtoStreamReader reader) |
default void |
writeTo(org.infinispan.protostream.ImmutableSerializationContext context,
org.infinispan.protostream.RawProtoStreamWriter writer,
T value) |
getJavaClass, readFrom, size, writeTodefault String getTypeName()
getTypeName in interface org.infinispan.protostream.BaseMarshaller<T>default T readFrom(org.infinispan.protostream.ImmutableSerializationContext context, org.infinispan.protostream.RawProtoStreamReader reader) throws IOException
readFrom in interface org.infinispan.protostream.RawProtobufMarshaller<T>IOExceptiondefault void writeTo(org.infinispan.protostream.ImmutableSerializationContext context,
org.infinispan.protostream.RawProtoStreamWriter writer,
T value)
throws IOException
writeTo in interface org.infinispan.protostream.RawProtobufMarshaller<T>IOExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.