Class NodeIdSerializer


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

      Constructors 
      Constructor Description
      NodeIdSerializer()
      Creates NodeId serializer instance.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static NodeIdSerializer nodeIdSerializer()  
      NodeId read​(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, java.lang.Class<NodeId> type)  
      void write​(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, NodeId object)  
      • 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 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,
                           java.lang.Class<NodeId> type)
        Specified by:
        read in class com.esotericsoftware.kryo.Serializer<NodeId>