Class AbstractUnsupportedStreamingMarshaller

  • All Implemented Interfaces:
    org.infinispan.commons.marshall.Marshaller, org.infinispan.commons.marshall.StreamingMarshaller
    Direct Known Subclasses:
    Infinispan8Marshaller, Infinispan9Marshaller

    public abstract class AbstractUnsupportedStreamingMarshaller
    extends org.infinispan.commons.marshall.AbstractMarshaller
    implements org.infinispan.commons.marshall.StreamingMarshaller
    An implementation of AbstractMarshaller that throws UnsupportedOperationException for all methods.
    Since:
    10.0
    Author:
    Ryan Emerson
    • Constructor Detail

      • AbstractUnsupportedStreamingMarshaller

        public AbstractUnsupportedStreamingMarshaller()
    • Method Detail

      • start

        public void start()
        Specified by:
        start in interface org.infinispan.commons.marshall.Marshaller
        Specified by:
        start in interface org.infinispan.commons.marshall.StreamingMarshaller
      • stop

        public void stop()
        Specified by:
        stop in interface org.infinispan.commons.marshall.Marshaller
        Specified by:
        stop in interface org.infinispan.commons.marshall.StreamingMarshaller
      • startObjectOutput

        public ObjectOutput startObjectOutput​(OutputStream os,
                                              boolean isReentrant,
                                              int estimatedSize)
                                       throws IOException
        Specified by:
        startObjectOutput in interface org.infinispan.commons.marshall.StreamingMarshaller
        Throws:
        IOException
      • finishObjectOutput

        public void finishObjectOutput​(ObjectOutput oo)
        Specified by:
        finishObjectOutput in interface org.infinispan.commons.marshall.StreamingMarshaller
      • objectToObjectStream

        public void objectToObjectStream​(Object obj,
                                         ObjectOutput out)
                                  throws IOException
        Specified by:
        objectToObjectStream in interface org.infinispan.commons.marshall.StreamingMarshaller
        Throws:
        IOException
      • startObjectInput

        public ObjectInput startObjectInput​(InputStream is,
                                            boolean isReentrant)
                                     throws IOException
        Specified by:
        startObjectInput in interface org.infinispan.commons.marshall.StreamingMarshaller
        Throws:
        IOException
      • finishObjectInput

        public void finishObjectInput​(ObjectInput oi)
        Specified by:
        finishObjectInput in interface org.infinispan.commons.marshall.StreamingMarshaller
      • isMarshallable

        public boolean isMarshallable​(Object o)
                               throws Exception
        Specified by:
        isMarshallable in interface org.infinispan.commons.marshall.Marshaller
        Throws:
        Exception
      • mediaType

        public org.infinispan.commons.dataconversion.MediaType mediaType()
        Specified by:
        mediaType in interface org.infinispan.commons.marshall.Marshaller