Class UpdateElectionTerm

java.lang.Object
org.opendaylight.controller.cluster.raft.persisted.UpdateElectionTerm
All Implemented Interfaces:
Serializable

public sealed class UpdateElectionTerm extends Object implements Serializable
Message class to persist election term information.
See Also:
  • Constructor Details

    • UpdateElectionTerm

      public UpdateElectionTerm(long currentTerm, String votedFor)
  • Method Details

    • getCurrentTerm

      public final long getCurrentTerm()
    • getVotedFor

      public final String getVotedFor()
    • writeReplace

      public final Object writeReplace()
    • toString

      public final String toString()
      Overrides:
      toString in class Object