Package org.infinispan.query.remote
Class CompatibilityProtoStreamMarshaller
- java.lang.Object
-
- org.infinispan.commons.marshall.AbstractMarshaller
-
- org.infinispan.query.remote.client.BaseProtoStreamMarshaller
-
- org.infinispan.query.remote.CompatibilityProtoStreamMarshaller
-
- All Implemented Interfaces:
Marshaller
public class CompatibilityProtoStreamMarshaller extends BaseProtoStreamMarshaller
A perEmbeddedCacheManager
marshaller that should be used as compatibility mode marshaller in server. An instance cannot be shared between multiple cache managers.- Since:
- 6.0
- Author:
- anistor@redhat.com
-
-
Field Summary
Fields Modifier and Type Field Description protected EmbeddedCacheManager
cacheManager
-
Fields inherited from class org.infinispan.commons.marshall.AbstractMarshaller
marshallableTypeHints
-
-
Constructor Summary
Constructors Constructor Description CompatibilityProtoStreamMarshaller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.infinispan.protostream.SerializationContext
getSerializationContext()
Subclasses must implement this method in order to provide a way to lookup theSerializationContext
-
Methods inherited from class org.infinispan.query.remote.client.BaseProtoStreamMarshaller
isMarshallable, mediaType, objectFromByteBuffer, objectToBuffer
-
Methods inherited from class org.infinispan.commons.marshall.AbstractMarshaller
getBufferSizePredictor, objectFromByteBuffer, objectFromInputStream, objectToBuffer, objectToByteBuffer, objectToByteBuffer
-
-
-
-
Field Detail
-
cacheManager
protected EmbeddedCacheManager cacheManager
-
-
Method Detail
-
getSerializationContext
protected org.infinispan.protostream.SerializationContext getSerializationContext()
Description copied from class:BaseProtoStreamMarshaller
Subclasses must implement this method in order to provide a way to lookup theSerializationContext
- Specified by:
getSerializationContext
in classBaseProtoStreamMarshaller
- Returns:
- the SerializationContext instance to use
-
-