Class ProtoStreamMarshaller

  • All Implemented Interfaces:
    org.infinispan.commons.marshall.Marshaller

    public class ProtoStreamMarshaller
    extends org.infinispan.query.remote.client.BaseProtoStreamMarshaller
    A 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 Detail

      • ProtoStreamMarshaller

        public ProtoStreamMarshaller()
    • Method Detail

      • getSerializationContext

        public org.infinispan.protostream.SerializationContext getSerializationContext()
        Specified by:
        getSerializationContext in class org.infinispan.query.remote.client.BaseProtoStreamMarshaller
      • getSerializationContext

        public static org.infinispan.protostream.SerializationContext getSerializationContext​(RemoteCacheManager remoteCacheManager)
        Obtains the SerializationContext associated with the given remote cache manager.
        Parameters:
        remoteCacheManager - the remote cache manager (must not be null)
        Returns:
        the associated SerializationContext
        Throws:
        HotRodClientException - if the cache manager is not configured to use a ProtoStreamMarshaller