Class Infinispan8Marshaller
- java.lang.Object
-
- org.infinispan.commons.marshall.AbstractMarshaller
-
- org.infinispan.tools.store.migrator.marshaller.common.AbstractUnsupportedStreamingMarshaller
-
- org.infinispan.tools.store.migrator.marshaller.infinispan8.Infinispan8Marshaller
-
- All Implemented Interfaces:
org.infinispan.commons.marshall.Marshaller,org.infinispan.commons.marshall.StreamingMarshaller
public class Infinispan8Marshaller extends AbstractUnsupportedStreamingMarshaller
LegacyVersionAwareMarshaller that is used to read bytes marshalled using Infinispan 8.x. This is useful for providing a migration path from 8.x stores.
-
-
Constructor Summary
Constructors Constructor Description Infinispan8Marshaller(Map<Integer,? extends org.infinispan.commons.marshall.AdvancedExternalizer> userExts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfinishObjectInput(ObjectInput oi)ObjectobjectFromByteBuffer(byte[] bytes, int offset, int len)ObjectInputstartObjectInput(InputStream is, boolean isReentrant)-
Methods inherited from class org.infinispan.tools.store.migrator.marshaller.common.AbstractUnsupportedStreamingMarshaller
finishObjectOutput, isMarshallable, mediaType, objectFromObjectStream, objectToBuffer, objectToObjectStream, start, startObjectOutput, stop
-
Methods inherited from class org.infinispan.commons.marshall.AbstractMarshaller
getBufferSizePredictor, objectFromByteBuffer, objectFromInputStream, objectToBuffer, objectToByteBuffer, objectToByteBuffer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
objectFromByteBuffer
public Object objectFromByteBuffer(byte[] bytes, int offset, int len) throws IOException, ClassNotFoundException
- Specified by:
objectFromByteBufferin interfaceorg.infinispan.commons.marshall.Marshaller- Overrides:
objectFromByteBufferin classAbstractUnsupportedStreamingMarshaller- Throws:
IOExceptionClassNotFoundException
-
startObjectInput
public ObjectInput startObjectInput(InputStream is, boolean isReentrant) throws IOException
- Specified by:
startObjectInputin interfaceorg.infinispan.commons.marshall.StreamingMarshaller- Overrides:
startObjectInputin classAbstractUnsupportedStreamingMarshaller- Throws:
IOException
-
finishObjectInput
public void finishObjectInput(ObjectInput oi)
- Specified by:
finishObjectInputin interfaceorg.infinispan.commons.marshall.StreamingMarshaller- Overrides:
finishObjectInputin classAbstractUnsupportedStreamingMarshaller
-
-