| Package | Description |
|---|---|
| com.sleepycat.je.rep |
Berkeley DB Java Edition High Availability (JE HA) enables replication of JE
environments.
|
| com.sleepycat.je.rep.arbitration |
INTERNAL: Manages the designated primary of a two-node group -- this is
NOT the
arbiter node. |
| com.sleepycat.je.rep.impl |
INTERNAL: Top level HA implementation classes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ReplicationConfig
Specifies the immutable attributes of a replicated environment.
|
| Modifier and Type | Method and Description |
|---|---|
ReplicationMutableConfig |
ReplicatedEnvironment.getRepMutableConfig() |
ReplicationMutableConfig |
ReplicationMutableConfig.setConfigParam(String paramName,
String value)
Set this configuration parameter with this value.
|
ReplicationMutableConfig |
ReplicationMutableConfig.setDesignatedPrimary(boolean isPrimary)
If
isPrimary is true, designate this node as a Primary. |
ReplicationMutableConfig |
ReplicationMutableConfig.setElectableGroupSizeOverride(int override)
Sets the size used to determine the number of electable nodes.
|
ReplicationMutableConfig |
ReplicationMutableConfig.setHelperHosts(String hostsAndPorts)
Identify one or more helpers nodes by their host and port pairs in this
format:
|
ReplicationMutableConfig |
ReplicationMutableConfig.setNodePriority(int priority)
Sets the election priority for the node.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ReplicationMutableConfig.copyMutablePropsTo(ReplicationMutableConfig toConfig) |
static void |
RepInternal.disableParameterValidation(ReplicationMutableConfig config)
Proxy to ReplicationMutableConfig.validateParams.
|
void |
ReplicatedEnvironment.setRepMutableConfig(ReplicationMutableConfig mutableConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
Arbiter.processConfigChange(ReplicationMutableConfig newConfig)
The replication configuration was changed.
|
boolean |
ArbiterProvider.shouldEndArbitration(ReplicationMutableConfig newConfig)
Return true if the environment configuration parameters specified in
newConfig indicate that this node is not qualified to remain in active
arbitration
|
boolean |
DesignatedPrimaryProvider.shouldEndArbitration(ReplicationMutableConfig newConfig)
Return true if this node is no longer configured as the designated
primary under the new configuration.
|
| Modifier and Type | Method and Description |
|---|---|
ReplicationMutableConfig |
RepImpl.cloneRepMutableConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
RepEnvConfigObserver.repEnvConfigUpdate(RepConfigManager configMgr,
ReplicationMutableConfig newConfig)
Notifies the observer that one or more mutable rep properties have been
changed.
|
void |
RepImpl.repEnvConfigUpdate(RepConfigManager configMgr,
ReplicationMutableConfig newConfig) |
void |
RepImpl.setRepMutableConfig(ReplicationMutableConfig config) |
Copyright © 2024. All rights reserved.