Package org.infinispan.commons.marshall
Class ProtoStreamMarshaller
- java.lang.Object
-
- org.infinispan.commons.marshall.AbstractMarshaller
-
- org.infinispan.commons.marshall.ImmutableProtoStreamMarshaller
-
- org.infinispan.commons.marshall.ProtoStreamMarshaller
-
- All Implemented Interfaces:
Marshaller
public class ProtoStreamMarshaller extends ImmutableProtoStreamMarshaller
Provides the starting point for implementing aMarshaller
that uses Protobuf encoding.- Since:
- 6.0
- Author:
- anistor@redhat.com
-
-
Field Summary
-
Fields inherited from class org.infinispan.commons.marshall.ImmutableProtoStreamMarshaller
serializationContext
-
Fields inherited from class org.infinispan.commons.marshall.AbstractMarshaller
marshallableTypeHints
-
-
Constructor Summary
Constructors Constructor Description ProtoStreamMarshaller()
ProtoStreamMarshaller(org.infinispan.protostream.SerializationContext serializationContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.infinispan.protostream.SerializationContext
getSerializationContext()
void
register(org.infinispan.protostream.SerializationContextInitializer initializer)
-
Methods inherited from class org.infinispan.commons.marshall.ImmutableProtoStreamMarshaller
isMarshallable, mediaType, objectFromByteBuffer, objectToBuffer
-
Methods inherited from class org.infinispan.commons.marshall.AbstractMarshaller
getBufferSizePredictor, objectFromByteBuffer, objectFromInputStream, objectToBuffer, objectToByteBuffer, objectToByteBuffer
-
Methods inherited from interface org.infinispan.commons.marshall.Marshaller
initialize, start, stop
-
-
-
-
Method Detail
-
register
public void register(org.infinispan.protostream.SerializationContextInitializer initializer)
-
getSerializationContext
public org.infinispan.protostream.SerializationContext getSerializationContext()
- Overrides:
getSerializationContext
in classImmutableProtoStreamMarshaller
-
-