Package org.infinispan.marshall.exts
Class OptionalExternalizer
- java.lang.Object
-
- org.infinispan.commons.marshall.AbstractExternalizer<Optional>
-
- org.infinispan.marshall.exts.OptionalExternalizer
-
- All Implemented Interfaces:
Serializable
,org.infinispan.commons.marshall.AdvancedExternalizer<Optional>
,org.infinispan.commons.marshall.Externalizer<Optional>
public class OptionalExternalizer extends org.infinispan.commons.marshall.AbstractExternalizer<Optional>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OptionalExternalizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getId()
Set<Class<? extends Optional>>
getTypeClasses()
Optional
readObject(ObjectInput input)
void
writeObject(ObjectOutput output, Optional object)
-
-
-
Method Detail
-
writeObject
public void writeObject(ObjectOutput output, Optional object) throws IOException
- Throws:
IOException
-
readObject
public Optional readObject(ObjectInput input) throws IOException, ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
-
-