public static interface Acceptor.SuggestionGenerator
Modifier and Type | Method and Description |
---|---|
Protocol.Value |
get(Proposer.Proposal proposal)
Used to generate a suggested value for use by a Proposer.
|
long |
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.long getRanking(Proposer.Proposal proposal)
the
- proposal associated with the rankingCopyright (c) 2004-2012 Oracle. All rights reserved.