| Package | Description |
|---|---|
| com.sleepycat.je.rep.elections |
INTERNAL: Elections of the master node among the nodes in a group.
|
| 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 | Class and Description |
|---|---|
class |
MasterValue
Class represents the identity of a Master as a subclass of a StringValue
that can be used during the election protocol.
|
static class |
Protocol.StringValue
A String based value implementation used as the "default" Value
|
| Modifier and Type | Method and Description |
|---|---|
protected Protocol.Value |
RankingProposer.choosePhase2Value(Set<TextProtocol.MessageExchange> exchanges)
Chooses a Value based on the relative ranking of all Promise responses.
|
protected abstract Protocol.Value |
Proposer.choosePhase2Value(Set<TextProtocol.MessageExchange> exchanges)
Selects the value to be used during Phase2, which if it succeeds will
become the "chosen value".
|
Protocol.Value |
Acceptor.SuggestionGenerator.get(Proposer.Proposal proposal)
Used to generate a suggested value for use by a Proposer.
|
Protocol.Value |
Protocol.Accepted.getValue() |
Protocol.Value |
Protocol.ValueParser.parse(String wireFormat)
Converts the wire format back into a Value
|
| 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.
|
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 |
|---|---|
Protocol.Value |
MasterSuggestionGenerator.get(Proposer.Proposal proposal) |
| Modifier and Type | Method and Description |
|---|---|
void |
MasterChangeListener.notify(Proposer.Proposal proposal,
Protocol.Value value)
Implements the Listener protocol.
|
Copyright © 2024. All rights reserved.