Class NodeIdSerializer


  • public final class NodeIdSerializer
    extends com.esotericsoftware.kryo.Serializer<NodeId>
    Kryo Serializer for NodeId.
    • Constructor Detail

      • NodeIdSerializer

        public NodeIdSerializer()
        Creates NodeId serializer instance.
    • Method Detail

      • write

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

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