public interface PersistenceMarshaller extends Marshaller, StreamAwareMarshaller
Modifier and Type | Method and Description |
---|---|
Marshaller |
getUserMarshaller() |
void |
register(org.infinispan.protostream.SerializationContextInitializer initializer)
Registers the schemas and marshallers defined by the provided
SerializationContextInitializer with the
PersistenceMarshaller 's SerializationContext . |
getBufferSizePredictor, initialize, isMarshallable, mediaType, objectFromByteBuffer, objectFromByteBuffer, objectToBuffer, objectToByteBuffer, objectToByteBuffer, start, stop
isMarshallable, mediaType, readObject, sizeEstimate, writeObject
void register(org.infinispan.protostream.SerializationContextInitializer initializer)
SerializationContextInitializer
with the
PersistenceMarshaller
's SerializationContext
.initializer
- whose schemas and marshallers' will be registered with the PersistenceMarshaller
SerializationContext
NullPointerException
- if initializer is null.Marshaller getUserMarshaller()
SerializationContext
if one exists, otherwise the default
ProtoStream based marshaller is returned.Copyright © 2021 JBoss by Red Hat. All rights reserved.