Class ProtoStreamMarshaller
- java.lang.Object
-
- org.infinispan.commons.marshall.AbstractMarshaller
-
- org.infinispan.commons.marshall.ProtoStreamMarshaller
-
- org.infinispan.client.hotrod.marshall.ProtoStreamMarshaller
-
- All Implemented Interfaces:
Marshaller
@Deprecated public class ProtoStreamMarshaller extends ProtoStreamMarshaller
Deprecated.since 10.0, will be removed in the future. org.infinispan.commons.marshall.ProtoStreamMarshaller should be used instead.A client-side marshaller that uses Protocol Buffers.- Since:
- 6.0
- Author:
- anistor@redhat.com
-
-
Field Summary
-
Fields inherited from class org.infinispan.commons.marshall.AbstractMarshaller
marshallableTypeHints
-
-
Constructor Summary
Constructors Constructor Description ProtoStreamMarshaller()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static org.infinispan.protostream.SerializationContext
getSerializationContext(RemoteCacheManager remoteCacheManager)
Deprecated.since 10.0 and will be removed in the future.-
Methods inherited from class org.infinispan.commons.marshall.ProtoStreamMarshaller
getSerializationContext, isMarshallable, mediaType, objectFromByteBuffer, objectToBuffer, register
-
Methods inherited from class org.infinispan.commons.marshall.AbstractMarshaller
getBufferSizePredictor, objectFromByteBuffer, objectFromInputStream, objectToBuffer, objectToByteBuffer, objectToByteBuffer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.infinispan.commons.marshall.Marshaller
initialize, start, stop
-
-
-
-
Method Detail
-
getSerializationContext
@Deprecated public static org.infinispan.protostream.SerializationContext getSerializationContext(RemoteCacheManager remoteCacheManager)
Deprecated.since 10.0 and will be removed in the future. UseMarshallerUtil.getSerializationContext(RemoteCacheManager)
instead.Obtains theSerializationContext
associated with the given remote cache manager.- Parameters:
remoteCacheManager
- the remote cache manager (must not benull
)- Returns:
- the associated
SerializationContext
- Throws:
HotRodClientException
- if the cache manager is not configured to use aProtoStreamMarshaller
-
-