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, stopisMarshallable, mediaType, readObject, sizeEstimate, writeObjectvoid register(org.infinispan.protostream.SerializationContextInitializer initializer)
SerializationContextInitializer with the
PersistenceMarshaller's SerializationContext.initializer - whose schemas and marshallers' will be registered with the PersistenceMarshaller SerializationContextNullPointerException - if initializer is null.Marshaller getUserMarshaller()
SerializationContext if one exists, otherwise the default
ProtoStream based marshaller is returned.Copyright © 2022 JBoss by Red Hat. All rights reserved.