public class RankingProposer extends Proposer
Proposer.ExitElectionException, Proposer.Proposal, Proposer.ProposalParser, Proposer.RetryPredicate, Proposer.WinningProposalelections, formatter, logger, phase1Arbiter, phase1NoNonZeroPrio| Constructor and Description |
|---|
RankingProposer(Elections elections,
NameIdPair nameIdPair) |
| Modifier and Type | Method and Description |
|---|---|
protected Protocol.Value |
choosePhase2Value(Set<TextProtocol.MessageExchange> exchanges)
Chooses a Value based on the relative ranking of all Promise responses.
|
Proposer.Proposal |
nextProposal()
Returns a proposal number.
|
getProposerStats, issueProposal, shutdownpublic RankingProposer(Elections elections, NameIdPair nameIdPair)
protected Protocol.Value choosePhase2Value(Set<TextProtocol.MessageExchange> exchanges)
choosePhase2Value in class Proposerexchanges - the message exchanges from Phase 1public Proposer.Proposal nextProposal()
nextProposal in class ProposerCopyright © 2024. All rights reserved.