Class MarshallableUserObject.Marshaller
- java.lang.Object
-
- org.infinispan.marshall.protostream.impl.MarshallableUserObject.Marshaller
-
- All Implemented Interfaces:
org.infinispan.protostream.BaseMarshaller<MarshallableUserObject>,org.infinispan.protostream.RawProtobufMarshaller<MarshallableUserObject>
- Enclosing class:
- MarshallableUserObject<T>
public static class MarshallableUserObject.Marshaller extends Object implements org.infinispan.protostream.RawProtobufMarshaller<MarshallableUserObject>
-
-
Constructor Summary
Constructors Constructor Description Marshaller(String typeName, org.infinispan.commons.marshall.Marshaller userMarshaller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<MarshallableUserObject>getJavaClass()StringgetTypeName()MarshallableUserObjectreadFrom(org.infinispan.protostream.ImmutableSerializationContext ctx, org.infinispan.protostream.RawProtoStreamReader in)voidwriteTo(org.infinispan.protostream.ImmutableSerializationContext ctx, org.infinispan.protostream.RawProtoStreamWriter out, MarshallableUserObject marshallableUserObject)
-
-
-
Constructor Detail
-
Marshaller
public Marshaller(String typeName, org.infinispan.commons.marshall.Marshaller userMarshaller)
-
-
Method Detail
-
getJavaClass
public Class<MarshallableUserObject> getJavaClass()
- Specified by:
getJavaClassin interfaceorg.infinispan.protostream.BaseMarshaller<MarshallableUserObject>
-
getTypeName
public String getTypeName()
- Specified by:
getTypeNamein interfaceorg.infinispan.protostream.BaseMarshaller<MarshallableUserObject>
-
readFrom
public MarshallableUserObject readFrom(org.infinispan.protostream.ImmutableSerializationContext ctx, org.infinispan.protostream.RawProtoStreamReader in) throws IOException
- Specified by:
readFromin interfaceorg.infinispan.protostream.RawProtobufMarshaller<MarshallableUserObject>- Throws:
IOException
-
writeTo
public void writeTo(org.infinispan.protostream.ImmutableSerializationContext ctx, org.infinispan.protostream.RawProtoStreamWriter out, MarshallableUserObject marshallableUserObject) throws IOException- Specified by:
writeToin interfaceorg.infinispan.protostream.RawProtobufMarshaller<MarshallableUserObject>- Throws:
IOException
-
-