Class PersistenceMarshaller
java.lang.Object
org.wildfly.clustering.cache.infinispan.marshalling.AbstractMarshaller
org.wildfly.clustering.cache.infinispan.embedded.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 -
Method Summary
Modifier and TypeMethodDescriptionorg.infinispan.commons.marshall.MarshallerbooleanisMarshallable(Object object) org.infinispan.commons.dataconversion.MediaTypereadObject(InputStream input) voidregister(org.infinispan.protostream.SerializationContextInitializer initializer) voidstart()voidwriteObject(Object object, OutputStream output) Methods inherited from class org.wildfly.clustering.cache.infinispan.marshalling.AbstractMarshaller
getBufferSizePredictor, objectFromByteBuffer, objectFromByteBuffer, objectToBuffer, objectToByteBuffer, objectToByteBuffer, sizeEstimate, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.commons.marshall.Marshaller
getBufferSizePredictor, initialize, objectFromByteBuffer, objectFromByteBuffer, objectToBuffer, objectToByteBuffer, objectToByteBuffer, stopMethods inherited from interface org.infinispan.commons.marshall.StreamAwareMarshaller
sizeEstimate
-
Constructor Details
-
PersistenceMarshaller
public PersistenceMarshaller()
-
-
Method Details
-
start
public void start()- Specified by:
startin interfaceorg.infinispan.commons.marshall.Marshaller
-
isMarshallable
- 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
- Specified by:
writeObjectin interfaceorg.infinispan.commons.marshall.StreamAwareMarshaller- Throws:
IOException
-
readObject
- 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
-