Class ProtoStreamMarshaller
java.lang.Object
org.infinispan.commons.marshall.AbstractMarshaller
org.infinispan.commons.marshall.ImmutableProtoStreamMarshaller
org.infinispan.commons.marshall.ProtoStreamMarshaller
org.infinispan.client.hotrod.marshall.ProtoStreamMarshaller
- All Implemented Interfaces:
org.infinispan.commons.marshall.Marshaller
@Deprecated
public class ProtoStreamMarshaller
extends org.infinispan.commons.marshall.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.ImmutableProtoStreamMarshaller
serializationContextFields inherited from class org.infinispan.commons.marshall.AbstractMarshaller
marshallableTypeHints -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.infinispan.protostream.SerializationContextgetSerializationContext(RemoteCacheManager remoteCacheManager) Deprecated.since 10.0 and will be removed in the future.Methods inherited from class org.infinispan.commons.marshall.ProtoStreamMarshaller
getSerializationContext, registerMethods inherited from class org.infinispan.commons.marshall.ImmutableProtoStreamMarshaller
isMarshallable, mediaType, objectFromByteBuffer, objectToBufferMethods inherited from class org.infinispan.commons.marshall.AbstractMarshaller
getBufferSizePredictor, objectFromByteBuffer, objectFromInputStream, objectToBuffer, objectToByteBuffer, objectToByteBufferMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.commons.marshall.Marshaller
initialize, start, stop
-
Constructor Details
-
ProtoStreamMarshaller
public ProtoStreamMarshaller()Deprecated.
-
-
Method Details
-
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 theSerializationContextassociated 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
-