public class CandidateRole extends NonLeaderRole
| Modifier and Type | Method and Description |
|---|---|
int |
getVotesReceived()
Get the number of votes received so far.
|
int |
getVotesRequired()
Get the number of votes required to win the election.
|
String |
toString() |
getElectionTimeout, startElectiongetKVDatabaseCopyright © 2016. All rights reserved.