Class MortalCacheEntryExternalizer
java.lang.Object
org.infinispan.tools.store.migrator.marshaller.common.AbstractMigratorExternalizer<org.infinispan.container.entries.MortalCacheEntry>
org.infinispan.tools.store.migrator.marshaller.common.MortalCacheEntryExternalizer
- All Implemented Interfaces:
Serializable,AdvancedExternalizer<org.infinispan.container.entries.MortalCacheEntry>,Externalizer<org.infinispan.container.entries.MortalCacheEntry>
public class MortalCacheEntryExternalizer
extends AbstractMigratorExternalizer<org.infinispan.container.entries.MortalCacheEntry>
Externalizer for
MortalCacheEntry.- 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.MortalCacheEntryreadObject(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
-
MortalCacheEntryExternalizer
public MortalCacheEntryExternalizer()
-
-
Method Details
-
readObject
public org.infinispan.container.entries.MortalCacheEntry 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
-