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