| Package | Description |
|---|---|
| com.sleepycat.je.rep |
Berkeley DB Java Edition High Availability (JE HA) enables replication of JE
environments.
|
| com.sleepycat.je.rep.arbiter |
Provides a mechanism to allow write availability for the Replication
group even when the number of replication nodes is less than majority.
|
| com.sleepycat.je.rep.arbiter.impl |
INTERNAL: Implementation classes for the arbiter node.
|
| com.sleepycat.je.rep.impl |
INTERNAL: Top level HA implementation classes.
|
| com.sleepycat.je.rep.impl.node |
INTERNAL: Feeder and Replica node implementations.
|
| Modifier and Type | Method and Description |
|---|---|
ReplicatedEnvironment.State |
NodeState.getNodeState()
Returns the replication
state of
this node. |
ReplicatedEnvironment.State |
ReplicatedEnvironment.getState()
Returns the current state of the node associated with this replication
environment.
|
ReplicatedEnvironment.State |
StateChangeEvent.getState()
Returns the state that the node has transitioned to.
|
static ReplicatedEnvironment.State |
ReplicatedEnvironment.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplicatedEnvironment.State[] |
ReplicatedEnvironment.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
NodeState(String nodeName,
String groupName,
ReplicatedEnvironment.State currentState,
String masterName,
JEVersion jeVersion,
long joinTime,
long currentTxnEndVLSN,
long masterTxnEndVLSN,
int activeFeeders,
int logVersion,
byte[] appState,
double systemLoad) |
StateChangeEvent(ReplicatedEnvironment.State state,
NameIdPair masterNameId) |
| Modifier and Type | Method and Description |
|---|---|
ReplicatedEnvironment.State |
Arbiter.getState()
Gets the Arbiter state.
|
| Modifier and Type | Method and Description |
|---|---|
ReplicatedEnvironment.State |
ArbiterImpl.getArbState() |
| Modifier and Type | Method and Description |
|---|---|
void |
ArbiterImpl.setState(ReplicatedEnvironment.State state) |
| Modifier and Type | Method and Description |
|---|---|
ReplicatedEnvironment.State |
NodeStateProtocol.NodeStateResponse.getNodeState() |
ReplicatedEnvironment.State |
BinaryNodeStateProtocol.BinaryNodeStateResponse.getNodeState() |
ReplicatedEnvironment.State |
RepImpl.getState()
Returns the current state associated with this ReplicatedEnvironment
|
ReplicatedEnvironment.State |
RepImpl.joinGroup(ReplicaConsistencyPolicy consistency,
QuorumPolicy initialElectionPolicy)
Wait for this node to join a replication group and return whether it is
a MASTER or REPLICA.
|
| Constructor and Description |
|---|
BinaryNodeStateResponse(String nodeName,
String groupName,
String masterName,
JEVersion jeVersion,
long joinTime,
ReplicatedEnvironment.State nodeState,
long commitVLSN,
long masterCommitVLSN,
int activeFeeders,
int logVersion,
byte[] appState,
double systemLoad) |
NodeStateResponse(String nodeName,
String masterName,
long joinTime,
ReplicatedEnvironment.State nodeState) |
| Modifier and Type | Method and Description |
|---|---|
ReplicatedEnvironment.State |
NodeState.getRepEnvState() |
ReplicatedEnvironment.State |
RepNode.joinGroup(ReplicaConsistencyPolicy consistency,
QuorumPolicy initialElectionPolicy)
JoinGroup ensures that a RepNode is actively participating in a
replication group.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NodeState.changeAndNotify(ReplicatedEnvironment.State state,
NameIdPair masterNameId)
Change to a new node state and release any threads waiting for a state
transition.
|
Copyright © 2024. All rights reserved.