Class PersistenceMarshaller

java.lang.Object
org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller
org.wildfly.clustering.infinispan.marshall.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 Details

    • PersistenceMarshaller

      public PersistenceMarshaller()
  • Method Details

    • 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
    • readObject

      public Object readObject(InputStream input) throws ClassNotFoundException, IOException
      Specified by:
      readObject in interface org.infinispan.commons.marshall.StreamAwareMarshaller
      Throws:
      ClassNotFoundException
      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