public static class MarshallableUserObject.Marshaller extends Object implements org.infinispan.protostream.RawProtobufMarshaller<MarshallableUserObject>
| Constructor and Description |
|---|
Marshaller(String typeName,
Marshaller userMarshaller) |
| Modifier and Type | Method and Description |
|---|---|
Class<MarshallableUserObject> |
getJavaClass() |
String |
getTypeName() |
MarshallableUserObject |
readFrom(org.infinispan.protostream.ImmutableSerializationContext ctx,
org.infinispan.protostream.RawProtoStreamReader in) |
void |
writeTo(org.infinispan.protostream.ImmutableSerializationContext ctx,
org.infinispan.protostream.RawProtoStreamWriter out,
MarshallableUserObject marshallableUserObject) |
public Marshaller(String typeName, Marshaller userMarshaller)
public Class<MarshallableUserObject> getJavaClass()
getJavaClass in interface org.infinispan.protostream.BaseMarshaller<MarshallableUserObject>public String getTypeName()
getTypeName in interface org.infinispan.protostream.BaseMarshaller<MarshallableUserObject>public MarshallableUserObject readFrom(org.infinispan.protostream.ImmutableSerializationContext ctx, org.infinispan.protostream.RawProtoStreamReader in) throws IOException
readFrom in interface org.infinispan.protostream.RawProtobufMarshaller<MarshallableUserObject>IOExceptionpublic void writeTo(org.infinispan.protostream.ImmutableSerializationContext ctx,
org.infinispan.protostream.RawProtoStreamWriter out,
MarshallableUserObject marshallableUserObject)
throws IOException
writeTo in interface org.infinispan.protostream.RawProtobufMarshaller<MarshallableUserObject>IOExceptionCopyright © 2022 JBoss by Red Hat. All rights reserved.