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>
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 Summary
Constructors Constructor Description MapExternalizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getId()
Set<Class<? extends Map>>
getTypeClasses()
Map
readObject(ObjectInput input)
void
writeObject(ObjectOutput output, Map map)
-
-
-
Method Detail
-
writeObject
public void writeObject(ObjectOutput output, Map map) throws IOException
- Throws:
IOException
-
readObject
public Map readObject(ObjectInput input) throws IOException, ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
-
getId
public Integer getId()
-
-