Class MapExternalizer

java.lang.Object
org.infinispan.tools.store.migrator.marshaller.common.AbstractMigratorExternalizer<Map>
org.infinispan.tools.store.migrator.marshaller.common.MapExternalizer
All Implemented Interfaces:
Serializable, AdvancedExternalizer<Map>, Externalizer<Map>

public class MapExternalizer extends AbstractMigratorExternalizer<Map>
See Also:
  • Constructor Details

    • MapExternalizer

      public MapExternalizer()
  • Method Details

    • readObject

      public Map readObject(ObjectInput input) throws IOException, ClassNotFoundException
      Description copied from interface: Externalizer
      Read an instance from the stream. The instance will have been written by the Externalizer.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 occurs
      ClassNotFoundException - if a class could not be found
    • getSupportedPrivateClasses

      public static Set<Class<? extends Map>> getSupportedPrivateClasses()
      Returns an immutable Set that contains all of the private classes (e.g. java.util.Collections$EmptyMap) that are supported by this Externalizer. This method is to be used by external sources if these private classes need additional processing to be available.
      Returns:
      immutable set of the private classes