| Package | Description |
|---|---|
| com.sleepycat.je.rep.elections |
INTERNAL: Elections of the master node among the nodes in a group.
|
| com.sleepycat.je.rep.impl.node |
INTERNAL: Feeder and Replica node implementations.
|
| com.sleepycat.je.rep.stream |
INTERNAL: Feeding and syncup (init) of rep stream from master node to
other node types (replicas, etc).
|
| Modifier and Type | Field and Description |
|---|---|
protected Proposer.Proposal |
Protocol.Propose.proposal |
| Modifier and Type | Method and Description |
|---|---|
Proposer.Proposal |
Protocol.Accepted.getProposal() |
Proposer.Proposal |
RankingProposer.nextProposal()
Returns a proposal number.
|
Proposer.Proposal |
TimebasedProposalGenerator.nextProposal()
Returns the next Proposal greater than all previous proposals returned
on this machine.
|
protected abstract Proposer.Proposal |
Proposer.nextProposal()
Creates the next unique Proposal to be used
|
Proposer.Proposal |
Proposer.ProposalParser.parse(String wireFormat)
Converts the wire format back into a Proposal
|
| Modifier and Type | Method and Description |
|---|---|
void |
Elections.asyncInformMonitors(Proposer.Proposal proposal,
Protocol.Value value)
Used to propagate the results of an election to any monitors.
|
Protocol.Value |
Acceptor.SuggestionGenerator.get(Proposer.Proposal proposal)
Used to generate a suggested value for use by a Proposer.
|
Acceptor.SuggestionGenerator.Ranking |
Acceptor.SuggestionGenerator.getRanking(Proposer.Proposal proposal)
The importance associated with the above suggestion.
|
void |
Learner.Listener.notify(Proposer.Proposal proposal,
Protocol.Value value) |
void |
Learner.processResult(Proposer.Proposal proposal,
Protocol.Value value)
Processes a result message
|
| Constructor and Description |
|---|
Promise(Proposer.Proposal highestProposal,
Protocol.Value value,
Protocol.Value suggestion,
Acceptor.SuggestionGenerator.Ranking suggestionRanking,
int priority,
int logVersion,
JEVersion jeVersion) |
WinningProposal(Proposer.Proposal proposal,
Protocol.Value value,
StatGroup proposerStats) |
| Modifier and Type | Method and Description |
|---|---|
void |
CommitFreezeLatch.freeze(Proposer.Proposal freezeProposal)
Initiates or extends a freeze on a VLSN in response to a new election
that is in progress.
|
void |
CommitFreezeLatch.vlsnEvent(Proposer.Proposal listenerProposal)
Invoked by the Learner thread whenever it receives an election result.
|
| Modifier and Type | Method and Description |
|---|---|
Protocol.Value |
MasterSuggestionGenerator.get(Proposer.Proposal proposal) |
Acceptor.SuggestionGenerator.Ranking |
MasterSuggestionGenerator.getRanking(Proposer.Proposal proposal) |
void |
MasterChangeListener.notify(Proposer.Proposal proposal,
Protocol.Value value)
Implements the Listener protocol.
|
Copyright © 2024. All rights reserved.