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:
Marshaller
Deprecated, for removal: This API element is subject to removal in a future version.
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
serializationContext
Fields inherited from class org.infinispan.commons.marshall.AbstractMarshaller
marshallableTypeHints
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic org.infinispan.protostream.SerializationContext
getSerializationContext
(RemoteCacheManager remoteCacheManager) Deprecated, for removal: This API element is subject to removal in a future version.since 10.0 and will be removed in the future.Methods inherited from class org.infinispan.commons.marshall.ProtoStreamMarshaller
getSerializationContext, register
Methods inherited from class org.infinispan.commons.marshall.ImmutableProtoStreamMarshaller
isMarshallable, mediaType, objectFromByteBuffer, objectToBuffer
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
-
Constructor Details
-
ProtoStreamMarshaller
public ProtoStreamMarshaller()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getSerializationContext
@Deprecated(forRemoval=true) public static org.infinispan.protostream.SerializationContext getSerializationContext(RemoteCacheManager remoteCacheManager) Deprecated, for removal: This API element is subject to removal in a future version.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
-