Interface PersistenceMarshaller
-
- All Superinterfaces:
Marshaller,StreamAwareMarshaller
public interface PersistenceMarshaller extends Marshaller, StreamAwareMarshaller
The marshaller that is responsible serializaing/desearilizing objects which are to be persisted.- Since:
- 10.0
- Author:
- Ryan Emerson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidregister(org.infinispan.protostream.SerializationContextInitializer initializer)Registers the schemas and marshallers defined by the providedSerializationContextInitializerwith thePersistenceMarshaller'sSerializationContext.-
Methods inherited from interface org.infinispan.commons.marshall.Marshaller
getBufferSizePredictor, isMarshallable, mediaType, objectFromByteBuffer, objectFromByteBuffer, objectToBuffer, objectToByteBuffer, objectToByteBuffer, start, stop
-
Methods inherited from interface org.infinispan.commons.marshall.StreamAwareMarshaller
isMarshallable, mediaType, readObject, sizeEstimate, writeObject
-
-
-
-
Method Detail
-
register
void register(org.infinispan.protostream.SerializationContextInitializer initializer)
Registers the schemas and marshallers defined by the providedSerializationContextInitializerwith thePersistenceMarshaller'sSerializationContext.- Parameters:
initializer- whose schemas and marshallers' will be registered with thePersistenceMarshallerSerializationContext
-
-