public static interface Acceptor.SuggestionGenerator
| Modifier and Type | Interface and Description |
|---|---|
static class |
Acceptor.SuggestionGenerator.Ranking
A description of the ranking used when comparing Promises to pick a
Master.
|
| Modifier and Type | Method and Description |
|---|---|
Protocol.Value |
get(Proposer.Proposal proposal)
Used to generate a suggested value for use by a Proposer.
|
Acceptor.SuggestionGenerator.Ranking |
getRanking(Proposer.Proposal proposal)
The importance associated with the above suggestion.
|
Protocol.Value get(Proposer.Proposal proposal)
proposal - the Proposal for which the value is being suggested.Acceptor.SuggestionGenerator.Ranking getRanking(Proposer.Proposal proposal)
proposal - the proposal associated with the rankingCopyright © 2024. All rights reserved.