Class StartJoinRequest

  • All Implemented Interfaces:
    Writeable, TaskAwareRequest

    public class StartJoinRequest
    extends TransportRequest
    Represents the action of requesting a join vote (see Join) from a node. The source node represents the node that is asking for join votes.
    • Constructor Detail

      • StartJoinRequest

        public StartJoinRequest​(DiscoveryNode sourceNode,
                                long term)
      • StartJoinRequest

        public StartJoinRequest​(StreamInput input)
                         throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getTerm

        public long getTerm()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object