Package org.infinispan.util
Class KeyValuePair.Externalizer
- java.lang.Object
-
- org.infinispan.commons.marshall.AbstractExternalizer<KeyValuePair>
-
- org.infinispan.util.KeyValuePair.Externalizer
-
- All Implemented Interfaces:
Serializable
,org.infinispan.commons.marshall.AdvancedExternalizer<KeyValuePair>
,org.infinispan.commons.marshall.Externalizer<KeyValuePair>
- Enclosing class:
- KeyValuePair<K,V>
public static class KeyValuePair.Externalizer extends org.infinispan.commons.marshall.AbstractExternalizer<KeyValuePair>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Externalizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getId()
Set<Class<? extends KeyValuePair>>
getTypeClasses()
KeyValuePair
readObject(ObjectInput input)
void
writeObject(ObjectOutput output, KeyValuePair kvPair)
-
-
-
Method Detail
-
writeObject
public void writeObject(ObjectOutput output, KeyValuePair kvPair) throws IOException
- Throws:
IOException
-
readObject
public KeyValuePair readObject(ObjectInput input) throws IOException, ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
-
getId
public Integer getId()
- Specified by:
getId
in interfaceorg.infinispan.commons.marshall.AdvancedExternalizer<KeyValuePair>
- Overrides:
getId
in classorg.infinispan.commons.marshall.AbstractExternalizer<KeyValuePair>
-
getTypeClasses
public Set<Class<? extends KeyValuePair>> getTypeClasses()
-
-