Class UUIDSerializer

java.lang.Object
com.esotericsoftware.kryo.Serializer<UUID>
org.springframework.statemachine.kryo.UUIDSerializer

public class UUIDSerializer extends com.esotericsoftware.kryo.Serializer<UUID>
Kryo Serializer for UUID.
Author:
Janne Valkealahti
  • Constructor Summary

    Constructors
    Constructor
    Description
    Instantiates a new UUID serializer.
  • Method Summary

    Modifier and Type
    Method
    Description
    read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<UUID> uuidClass)
     
    void
    write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, UUID uuid)
     

    Methods inherited from class com.esotericsoftware.kryo.Serializer

    copy, getAcceptsNull, isImmutable, setAcceptsNull, setGenerics, setImmutable

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UUIDSerializer

      public UUIDSerializer()
      Instantiates a new UUID serializer.
  • Method Details

    • write

      public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, UUID uuid)
      Specified by:
      write in class com.esotericsoftware.kryo.Serializer<UUID>
    • read

      public UUID read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<UUID> uuidClass)
      Specified by:
      read in class com.esotericsoftware.kryo.Serializer<UUID>