Class GlobalMarshaller
java.lang.Object
org.infinispan.marshall.protostream.impl.AbstractInternalProtoStreamMarshaller
org.infinispan.marshall.protostream.impl.GlobalMarshaller
- All Implemented Interfaces:
org.infinispan.commons.marshall.Marshaller, org.infinispan.commons.marshall.StreamAwareMarshaller
A globally-scoped marshaller for cluster communication.
- Since:
- 16.0
- Author:
- Ryan Emerson
-
Field Summary
Fields inherited from class AbstractInternalProtoStreamMarshaller
ctxRegistry, log, marshallableTypeHints, skipUserMarshaller, userMarshaller -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.infinispan.protostream.ImmutableSerializationContextbooleanbooleanorg.infinispan.commons.io.ByteBufferobjectToBuffer(Object obj) byte[]objectToByteBuffer(Object obj, int estimatedSize) voidstart()voidstop()protected ObjectMethods inherited from class AbstractInternalProtoStreamMarshaller
getBufferSizePredictor, getUserMarshaller, isMarshallable, mediaType, objectFromByteBuffer, objectFromByteBuffer, objectFromByteBuffer, objectToByteBuffer, objectToOutputStream, readObject, sizeEstimate, writeObjectMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.commons.marshall.Marshaller
initialize
-
Constructor Details
-
GlobalMarshaller
public GlobalMarshaller()
-
-
Method Details
-
start
public void start()- Specified by:
startin interfaceorg.infinispan.commons.marshall.Marshaller- Overrides:
startin classAbstractInternalProtoStreamMarshaller
-
stop
public void stop() -
getSerializationContext
public org.infinispan.protostream.ImmutableSerializationContext getSerializationContext()- Specified by:
getSerializationContextin classAbstractInternalProtoStreamMarshaller
-
isMarshallableWithProtoStream
- Overrides:
isMarshallableWithProtoStreamin classAbstractInternalProtoStreamMarshaller
-
isMarshallableWithoutWrapping
-
objectToBuffer
- Specified by:
objectToBufferin interfaceorg.infinispan.commons.marshall.Marshaller- Overrides:
objectToBufferin classAbstractInternalProtoStreamMarshaller
-
objectToByteBuffer
- Specified by:
objectToByteBufferin interfaceorg.infinispan.commons.marshall.Marshaller- Overrides:
objectToByteBufferin classAbstractInternalProtoStreamMarshaller
-
unwrapAndInit
- Overrides:
unwrapAndInitin classAbstractInternalProtoStreamMarshaller
-