Class KieProtostreamMarshaller

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

    public final class KieProtostreamMarshaller
    extends org.infinispan.client.hotrod.marshall.ProtoStreamMarshaller
    A thread safe protostream marshaller supporting dynamic entities. Workaround until dynamic entities are supported on protostream - https://issues.jboss.org/browse/IPROTO-56
    • Field Summary

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

        marshallableTypeHints
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.infinispan.commons.io.ByteBuffer objectToBuffer​(Object o, int estimatedSize)  
      • Methods inherited from class org.infinispan.client.hotrod.marshall.ProtoStreamMarshaller

        getSerializationContext
      • Methods inherited from class org.infinispan.commons.marshall.ProtoStreamMarshaller

        getSerializationContext, isMarshallable, mediaType, objectFromByteBuffer, register
      • 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

      • KieProtostreamMarshaller

        public KieProtostreamMarshaller()
    • Method Detail

      • objectToBuffer

        protected org.infinispan.commons.io.ByteBuffer objectToBuffer​(Object o,
                                                                      int estimatedSize)
                                                               throws IOException
        Overrides:
        objectToBuffer in class org.infinispan.commons.marshall.ProtoStreamMarshaller
        Throws:
        IOException