| Package | Description |
|---|---|
| com.sleepycat.je.rep.elections |
INTERNAL: Elections of the master node among the nodes in a group.
|
| Modifier and Type | Field and Description |
|---|---|
protected Protocol |
ElectionAgentThread.protocol |
| Modifier and Type | Method and Description |
|---|---|
Protocol |
Elections.getProtocol() |
| Modifier and Type | Method and Description |
|---|---|
static MasterValue |
Learner.findMaster(Protocol protocol,
Set<InetSocketAddress> learnerSockets,
Logger logger,
RepImpl repImpl,
Formatter formatter)
Returns the socket address for the current master, or null if one
could not be determined from the available set of learners.
|
static void |
Learner.informLearners(Set<InetSocketAddress> learners,
Proposer.WinningProposal winningProposal,
Protocol protocol,
ExecutorService threadPool,
Logger logger,
RepImpl repImpl,
Formatter formatter)
A utility method used to broadcast the results of an election to
Listeners.
|
| Constructor and Description |
|---|
Acceptor(Protocol protocol,
ElectionsConfig config,
Acceptor.SuggestionGenerator suggestionGenerator)
Creates an Acceptor
|
ElectionAgentThread(EnvironmentImpl envImpl,
Protocol protocol,
String threadName) |
ElectionAgentThread(RepNode repNode,
Protocol protocol,
String threadName) |
Learner(Protocol protocol,
ServiceDispatcher serviceDispatcher)
Creates an instance of a Learner which will listen for election results
to propagate to local listeners, and for requests asking for election
results.
|
Learner(RepImpl repImpl,
Protocol protocol,
ServiceDispatcher serviceDispatcher) |
Copyright © 2024. All rights reserved.