Package org.infinispan.marshall.exts
Class MapExternalizer
java.lang.Object
org.infinispan.commons.marshall.AbstractExternalizer<Map>
org.infinispan.marshall.exts.MapExternalizer
- All Implemented Interfaces:
Serializable,org.infinispan.commons.marshall.AdvancedExternalizer<Map>,org.infinispan.commons.marshall.Externalizer<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:
-
Field Summary
Fields inherited from interface org.infinispan.commons.marshall.AdvancedExternalizer
USER_EXT_ID_MIN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Returns an immutable Set that contains all of the private classes (e.g.readObject(ObjectInput input) voidwriteObject(ObjectOutput output, Map map)
-
Constructor Details
-
MapExternalizer
public MapExternalizer()
-
-
Method Details
-
writeObject
- Throws:
IOException
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
getId
-
getTypeClasses
-
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
-