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 Summary
Constructors Constructor Description PersistenceMarshaller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.infinispan.commons.marshall.MarshallergetUserMarshaller()booleanisMarshallable(Object object)org.infinispan.commons.dataconversion.MediaTypemediaType()ObjectreadObject(InputStream input)voidregister(org.infinispan.protostream.SerializationContextInitializer initializer)voidstart()voidwriteObject(Object object, OutputStream output)-
Methods inherited from class org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller
getBufferSizePredictor, objectFromByteBuffer, objectFromByteBuffer, objectToBuffer, objectToByteBuffer, objectToByteBuffer, sizeEstimate, stop
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
start
public void start()
- Specified by:
startin interfaceorg.infinispan.commons.marshall.Marshaller
-
isMarshallable
public boolean isMarshallable(Object object)
- Specified by:
isMarshallablein interfaceorg.infinispan.commons.marshall.Marshaller- Specified by:
isMarshallablein interfaceorg.infinispan.commons.marshall.StreamAwareMarshaller
-
mediaType
public org.infinispan.commons.dataconversion.MediaType mediaType()
- Specified by:
mediaTypein interfaceorg.infinispan.commons.marshall.Marshaller- Specified by:
mediaTypein interfaceorg.infinispan.commons.marshall.StreamAwareMarshaller
-
writeObject
public void writeObject(Object object, OutputStream output) throws IOException
- Specified by:
writeObjectin interfaceorg.infinispan.commons.marshall.StreamAwareMarshaller- Throws:
IOException
-
readObject
public Object readObject(InputStream input) throws ClassNotFoundException, IOException
- Specified by:
readObjectin interfaceorg.infinispan.commons.marshall.StreamAwareMarshaller- Throws:
ClassNotFoundExceptionIOException
-
register
public void register(org.infinispan.protostream.SerializationContextInitializer initializer)
- Specified by:
registerin interfaceorg.infinispan.marshall.persistence.PersistenceMarshaller
-
getUserMarshaller
public org.infinispan.commons.marshall.Marshaller getUserMarshaller()
- Specified by:
getUserMarshallerin interfaceorg.infinispan.marshall.persistence.PersistenceMarshaller
-
-