Class MetadataMortalCacheEntryExternalizer
java.lang.Object
org.infinispan.tools.store.migrator.marshaller.common.AbstractMigratorExternalizer<org.infinispan.container.entries.metadata.MetadataMortalCacheEntry>
org.infinispan.tools.store.migrator.marshaller.common.MetadataMortalCacheEntryExternalizer
- All Implemented Interfaces:
Serializable,AdvancedExternalizer<org.infinispan.container.entries.metadata.MetadataMortalCacheEntry>,Externalizer<org.infinispan.container.entries.metadata.MetadataMortalCacheEntry>
public class MetadataMortalCacheEntryExternalizer
extends AbstractMigratorExternalizer<org.infinispan.container.entries.metadata.MetadataMortalCacheEntry>
Externalizer for
MetadataMortalCacheEntry.- Since:
- 11.0
- Author:
- Pedro Ruivo
- 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.entries.metadata.MetadataMortalCacheEntryreadObject(ObjectInput input) Read an instance from the stream.Methods inherited from class org.infinispan.tools.store.migrator.marshaller.common.AbstractMigratorExternalizer
getId, getTypeClasses, writeObject
-
Constructor Details
-
MetadataMortalCacheEntryExternalizer
public MetadataMortalCacheEntryExternalizer()
-
-
Method Details
-
readObject
public org.infinispan.container.entries.metadata.MetadataMortalCacheEntry readObject(ObjectInput input) 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:
input- 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
-