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
LegacyVersionAwareMarshaller that is used to read bytes marshalled using Infinispan 8.x. This is useful for providing
a migration path from 8.x stores.
-
Field Summary
Fields inherited from class org.infinispan.commons.marshall.AbstractMarshaller
marshallableTypeHints -
Constructor Summary
ConstructorsConstructorDescriptionInfinispan8Marshaller(Map<Integer, ? extends org.infinispan.commons.marshall.AdvancedExternalizer> userExts) -
Method Summary
Modifier and TypeMethodDescriptionvoidobjectFromByteBuffer(byte[] bytes, int offset, int len) startObjectInput(InputStream is, boolean isReentrant) Methods inherited from class org.infinispan.tools.store.migrator.marshaller.common.AbstractUnsupportedStreamingMarshaller
finishObjectOutput, isMarshallable, mediaType, objectFromObjectStream, objectToBuffer, objectToObjectStream, start, startObjectOutput, stopMethods inherited from class org.infinispan.commons.marshall.AbstractMarshaller
getBufferSizePredictor, objectFromByteBuffer, objectFromInputStream, objectToBuffer, objectToByteBuffer, objectToByteBufferMethods 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, objectToBuffer, objectToByteBuffer, objectToByteBufferMethods inherited from interface org.infinispan.commons.marshall.StreamingMarshaller
objectFromInputStream
-
Constructor Details
-
Infinispan8Marshaller
-
-
Method Details
-
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
- Specified by:
startObjectInputin interfaceorg.infinispan.commons.marshall.StreamingMarshaller- Overrides:
startObjectInputin classAbstractUnsupportedStreamingMarshaller- Throws:
IOException
-
finishObjectInput
- Specified by:
finishObjectInputin interfaceorg.infinispan.commons.marshall.StreamingMarshaller- Overrides:
finishObjectInputin classAbstractUnsupportedStreamingMarshaller
-