Class PersistenceMarshaller

  • All Implemented Interfaces:
    org.infinispan.commons.marshall.Marshaller, org.infinispan.commons.marshall.StreamAwareMarshaller, org.infinispan.marshall.persistence.PersistenceMarshaller

    public class PersistenceMarshaller
    extends AbstractMarshaller
    implements org.infinispan.marshall.persistence.PersistenceMarshaller
    Author:
    Paul Ferraro
    • Constructor Detail

      • PersistenceMarshaller

        public PersistenceMarshaller()
    • Method Detail

      • start

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

        public boolean isMarshallable​(Object object)
        Specified by:
        isMarshallable in interface org.infinispan.commons.marshall.Marshaller
        Specified by:
        isMarshallable in interface org.infinispan.commons.marshall.StreamAwareMarshaller
      • mediaType

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

        public void writeObject​(Object object,
                                OutputStream output)
                         throws IOException
        Specified by:
        writeObject in interface org.infinispan.commons.marshall.StreamAwareMarshaller
        Throws:
        IOException
      • register

        public void register​(org.infinispan.protostream.SerializationContextInitializer initializer)
        Specified by:
        register in interface org.infinispan.marshall.persistence.PersistenceMarshaller
      • getUserMarshaller

        public org.infinispan.commons.marshall.Marshaller getUserMarshaller()
        Specified by:
        getUserMarshaller in interface org.infinispan.marshall.persistence.PersistenceMarshaller