Class MapExternalizer

  • All Implemented Interfaces:
    Serializable, org.infinispan.commons.marshall.AdvancedExternalizer<Map>, org.infinispan.commons.marshall.Externalizer<Map>

    public class MapExternalizer
    extends org.infinispan.commons.marshall.AbstractExternalizer<Map>
    Map externalizer for all map implementations except immutable maps and singleton maps, i.e. FastCopyHashMap, HashMap, TreeMap.
    Since:
    4.0
    Author:
    Galder ZamarreƱo
    See Also:
    Serialized Form
    • Constructor Detail

      • MapExternalizer

        public MapExternalizer()
    • Method Detail

      • getId

        public Integer getId()
        Specified by:
        getId in interface org.infinispan.commons.marshall.AdvancedExternalizer<Map>
        Overrides:
        getId in class org.infinispan.commons.marshall.AbstractExternalizer<Map>
      • getTypeClasses

        public Set<Class<? extends Map>> getTypeClasses()
      • 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