Class NodeStateFile.CandidateTerm

java.lang.Object
io.aeron.cluster.NodeStateFile.CandidateTerm
Enclosing class:
NodeStateFile

public final class NodeStateFile.CandidateTerm extends Object
Wrapper class for the candidate term.
  • Method Details

    • candidateTermId

      public long candidateTermId()
      Gets the current candidateTermId.
      Returns:
      the candidateTermId.
    • timestamp

      public long timestamp()
      Get the timestamp of the latest candidateTermId update.
      Returns:
      epoch timestamp in ms.
    • logPosition

      public long logPosition()
      Get the log position of the latest candidateTermId update.
      Returns:
      log position.