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
serializationContextFields inherited from class org.infinispan.commons.marshall.AbstractMarshaller
marshallableTypeHints -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic org.infinispan.protostream.SerializationContextgetSerializationContext(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, 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, 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 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
-