| Package | Description |
|---|---|
| com.sleepycat.je.rep |
Berkeley DB Java Edition High Availability (JE HA) enables replication of JE
environments.
|
| com.sleepycat.je.rep.elections |
INTERNAL: Elections of the master node among the nodes in a group.
|
| com.sleepycat.je.rep.impl |
INTERNAL: Top level HA implementation classes.
|
| com.sleepycat.je.rep.impl.node |
INTERNAL: Feeder and Replica node implementations.
|
| com.sleepycat.je.rep.impl.node.cbvlsn |
INTERNAL: Eventual burial ground for Cleaner Barrier VLSN (CBVLSN) classes,
currently used only for compatibility with old version nodes in a mixed
version group.
|
| com.sleepycat.je.rep.monitor |
BDB JE HA support for applications that need to track the composition of a
replication group, in order to do tasks such as load balancing and
request routing.
|
| 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 | Method and Description |
|---|---|
RepGroupImpl |
ReplicationGroup.getRepGroupImpl() |
static RepGroupImpl |
RepInternal.getRepGroupImpl(ReplicationGroup group) |
| Constructor and Description |
|---|
ReplicationGroup(RepGroupImpl repGroupImpl) |
| Modifier and Type | Method and Description |
|---|---|
void |
Elections.initiateElection(RepGroupImpl newGroup,
QuorumPolicy quorumPolicy)
The standard method for requesting and election, we normally want to run
elections until we hear of an election result.
|
void |
Elections.initiateElection(RepGroupImpl newGroup,
QuorumPolicy quorumPolicy,
int maxRetries)
Initiates an election.
|
void |
Elections.updateRepGroup(RepGroupImpl newRepGroup)
Updates elections notion of the rep group, so that acceptors are aware
of the current state of the group, even in the absence of an election
conducted by the node itself.
|
void |
Elections.updateRepGroupOnly(RepGroupImpl newRepGroup)
Updates elections notion of the rep group, so that acceptors are aware
of the current state of the group, even in the absence of an election
conducted by the node itself.
|
| Modifier and Type | Field and Description |
|---|---|
RepGroupImpl |
RepGroupDB.emptyGroup |
| Modifier and Type | Method and Description |
|---|---|
static RepGroupImpl |
RepGroupImpl.deserializeHex(String[] tokens,
int start)
De-serializes an array of tokens into a Rep group object and its nodes.
|
RepGroupImpl |
RepGroupDB.GroupBinding.entryToObject(TupleInput input) |
RepGroupImpl |
RepGroupDB.getGroup() |
RepGroupImpl |
RepGroupProtocol.GroupResponse.getGroup() |
static RepGroupImpl |
RepGroupDB.getGroup(File envDir)
An internal API used to obtain group information by opening a stand
alone environment handle and reading the RepGroupDB.
|
static RepGroupImpl |
RepGroupDB.getGroup(RepImpl rImpl,
String groupName)
Returns all the members that are currently part of the replication
group, using NO_CONSISTENCY.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RepGroupDB.GroupBinding.objectToEntry(RepGroupImpl group,
TupleOutput output) |
| Constructor and Description |
|---|
GroupResponse(RepGroupProtocol.GroupRequest request,
RepGroupImpl group) |
| Modifier and Type | Method and Description |
|---|---|
RepGroupImpl |
RepNode.getGroup()
Retrieves the node's current snapshot image of the group definition.
|
RepGroupImpl |
RepNode.refreshCachedGroup()
This method must be invoked when a RepNode is first initialized and
subsequently every time there is a change to the replication group.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RepNode.setGroup(RepGroupImpl repGroupImpl)
Sets the group metadata associated with the RepNode and updates any
local derived data.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GlobalCBVLSN.recalculate(RepGroupImpl groupInfo)
Recalculates the GlobalVLSN when it is not defunct.
|
| Modifier and Type | Method and Description |
|---|---|
RepGroupImpl |
Protocol.GroupChange.getGroup() |
| Constructor and Description |
|---|
GroupChange(RepGroupImpl group,
String nodeName,
GroupChangeEvent.GroupChangeType opType) |
| Modifier and Type | Method and Description |
|---|---|
RepGroupImpl |
ReplicaFeederHandshakeConfig.getGroup()
Gets the RepGroupImpl.
|
Copyright © 2024. All rights reserved.