Class DurationExternalizer
java.lang.Object
org.wildfly.clustering.marshalling.spi.time.DurationExternalizer
- All Implemented Interfaces:
Externalizer<Duration>
Externalizer for a
Duration.- Author:
- Paul Ferraro
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreadObject(ObjectInput input) voidwriteObject(ObjectOutput output, Duration duration)
-
Constructor Details
-
DurationExternalizer
public DurationExternalizer()
-
-
Method Details
-
writeObject
- Specified by:
writeObjectin interfaceExternalizer<Duration>- Throws:
IOException
-
readObject
- Specified by:
readObjectin interfaceExternalizer<Duration>- Throws:
IOExceptionClassNotFoundException
-
getTargetClass
- Specified by:
getTargetClassin interfaceExternalizer<Duration>
-
size
- Specified by:
sizein interfaceExternalizer<Duration>
-