Class OptionalLongExternalizer
- java.lang.Object
-
- org.wildfly.clustering.marshalling.spi.util.OptionalLongExternalizer
-
- All Implemented Interfaces:
Externalizer<OptionalLong>
public class OptionalLongExternalizer extends Object implements Externalizer<OptionalLong>
Externalizer for anOptionalLong.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description OptionalLongExternalizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<OptionalLong>getTargetClass()OptionalLongreadObject(ObjectInput input)OptionalIntsize(OptionalLong value)voidwriteObject(ObjectOutput output, OptionalLong value)
-
-
-
Method Detail
-
writeObject
public void writeObject(ObjectOutput output, OptionalLong value) throws IOException
- Specified by:
writeObjectin interfaceExternalizer<OptionalLong>- Throws:
IOException
-
readObject
public OptionalLong readObject(ObjectInput input) throws IOException, ClassNotFoundException
- Specified by:
readObjectin interfaceExternalizer<OptionalLong>- Throws:
IOExceptionClassNotFoundException
-
size
public OptionalInt size(OptionalLong value)
- Specified by:
sizein interfaceExternalizer<OptionalLong>
-
getTargetClass
public Class<OptionalLong> getTargetClass()
- Specified by:
getTargetClassin interfaceExternalizer<OptionalLong>
-
-