Esempio n. 1
0
 /// <summary>
 /// Get the current value of a candidate term id if a vote is placed in an election.
 /// </summary>
 /// <returns> the current candidate term id within an election after voting or <seealso cref="Aeron#NULL_VALUE"/> if
 /// no voting phase of an election is currently active. </returns>
 public long CandidateTermId()
 {
     return(buffer.GetLongVolatile(MarkFileHeaderDecoder.CandidateTermIdEncodingOffset()));
 }