Class 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

        serializationContext
      • Fields inherited from class org.infinispan.commons.marshall.AbstractMarshaller

        marshallableTypeHints
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static org.infinispan.protostream.SerializationContext getSerializationContext​(RemoteCacheManager remoteCacheManager)
      Deprecated.
      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 interface org.infinispan.commons.marshall.Marshaller

        initialize, start, stop
    • Constructor Detail

      • ProtoStreamMarshaller

        public ProtoStreamMarshaller()
        Deprecated.
    • Method Detail

      • getSerializationContext

        @Deprecated
        public static org.infinispan.protostream.SerializationContext getSerializationContext​(RemoteCacheManager remoteCacheManager)
        Deprecated.
        since 10.0 and will be removed in the future. Use MarshallerUtil.getSerializationContext(RemoteCacheManager) instead.
        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