Class SimpleClusteredVersionExternalizer
java.lang.Object
org.infinispan.tools.store.migrator.marshaller.common.AbstractMigratorExternalizer<org.infinispan.container.versioning.SimpleClusteredVersion>
org.infinispan.tools.store.migrator.marshaller.common.SimpleClusteredVersionExternalizer
- All Implemented Interfaces:
Serializable,AdvancedExternalizer<org.infinispan.container.versioning.SimpleClusteredVersion>,Externalizer<org.infinispan.container.versioning.SimpleClusteredVersion>
public class SimpleClusteredVersionExternalizer
extends AbstractMigratorExternalizer<org.infinispan.container.versioning.SimpleClusteredVersion>
- See Also:
-
Field Summary
Fields inherited from interface org.infinispan.tools.store.migrator.marshaller.common.AdvancedExternalizer
USER_EXT_ID_MIN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.infinispan.container.versioning.SimpleClusteredVersionreadObject(ObjectInput unmarshaller) Read an instance from the stream.Methods inherited from class org.infinispan.tools.store.migrator.marshaller.common.AbstractMigratorExternalizer
getId, getTypeClasses, writeObject
-
Constructor Details
-
SimpleClusteredVersionExternalizer
public SimpleClusteredVersionExternalizer()
-
-
Method Details
-
readObject
public org.infinispan.container.versioning.SimpleClusteredVersion readObject(ObjectInput unmarshaller) throws IOException, ClassNotFoundException Description copied from interface:ExternalizerRead an instance from the stream. The instance will have been written by theExternalizer.writeObject(ObjectOutput, Object)method. Implementations are free to create instances of the object read from the stream in any way that they feel like. This could be via constructor, factory or reflection.- Parameters:
unmarshaller- the object input to read from- Returns:
- the object instance
- Throws:
IOException- if an I/O error occursClassNotFoundException- if a class could not be found
-