Class ProtoStreamMarshaller
- java.lang.Object
 - 
- org.infinispan.commons.marshall.AbstractMarshaller
 - 
- org.infinispan.query.remote.client.BaseProtoStreamMarshaller
 - 
- org.infinispan.client.hotrod.marshall.ProtoStreamMarshaller
 
 
 
 
- 
- All Implemented Interfaces:
 org.infinispan.commons.marshall.Marshaller
public class ProtoStreamMarshaller extends BaseProtoStreamMarshaller
A marshaller that uses Protocol Buffers.- Since:
 - 6.0
 - Author:
 - anistor@redhat.com
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ProtoStreamMarshaller() 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.infinispan.protostream.SerializationContextgetSerializationContext()Subclasses must implement this method in order to provide a way to lookup theSerializationContextstatic org.infinispan.protostream.SerializationContextgetSerializationContext(RemoteCacheManager remoteCacheManager)A convenience method to return theSerializationContextassociated with theProtoStreamMarshallerconfigured on the providedRemoteCacheManager.- 
Methods inherited from class org.infinispan.query.remote.client.BaseProtoStreamMarshaller
isMarshallable, mediaType, objectFromByteBuffer, objectToBuffer 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getSerializationContext
public org.infinispan.protostream.SerializationContext getSerializationContext()
Description copied from class:BaseProtoStreamMarshallerSubclasses must implement this method in order to provide a way to lookup theSerializationContext- Specified by:
 getSerializationContextin classBaseProtoStreamMarshaller- Returns:
 - the SerializationContext instance to use
 
 
- 
getSerializationContext
public static org.infinispan.protostream.SerializationContext getSerializationContext(RemoteCacheManager remoteCacheManager)
A convenience method to return theSerializationContextassociated with theProtoStreamMarshallerconfigured on the providedRemoteCacheManager.- Returns:
 - the associated 
SerializationContext - Throws:
 HotRodClientException- if the cache manager is not started or is not configured to use aProtoStreamMarshaller
 
 - 
 
 -