Class AbstractUserMarshaller
- java.lang.Object
-
- org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller
-
- org.wildfly.clustering.infinispan.marshalling.AbstractUserMarshaller
-
- All Implemented Interfaces:
org.infinispan.commons.marshall.Marshaller,org.infinispan.commons.marshall.StreamAwareMarshaller
- Direct Known Subclasses:
JBossMarshaller,ProtoStreamMarshaller
public abstract class AbstractUserMarshaller extends AbstractMarshaller
An abstract user marshaller that delegates marshalling to aByteBufferMarshaller.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description AbstractUserMarshaller(org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller marshaller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisMarshallable(Object object)ObjectreadObject(InputStream input)intsizeEstimate(Object object)voidwriteObject(Object object, OutputStream output)-
Methods inherited from class org.wildfly.clustering.infinispan.marshalling.AbstractMarshaller
getBufferSizePredictor, objectFromByteBuffer, objectFromByteBuffer, objectToBuffer, objectToByteBuffer, objectToByteBuffer, stop
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
sizeEstimate
public int sizeEstimate(Object object)
- Specified by:
sizeEstimatein interfaceorg.infinispan.commons.marshall.StreamAwareMarshaller- Overrides:
sizeEstimatein classAbstractMarshaller
-
isMarshallable
public boolean isMarshallable(Object object)
-
readObject
public Object readObject(InputStream input) throws ClassNotFoundException, IOException
- Throws:
ClassNotFoundExceptionIOException
-
writeObject
public void writeObject(Object object, OutputStream output) throws IOException
- Throws:
IOException
-
-