|
Berkeley DB Java Edition version 5.0.34 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ReplicationConfig | |
---|---|
com.sleepycat.je.rep |
Berkeley DB Java Edition High Availability (JE HA) enables replication of JE
environments. |
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. |
Uses of ReplicationConfig in com.sleepycat.je.rep |
---|
Methods in com.sleepycat.je.rep that return ReplicationConfig | |
---|---|
ReplicationConfig |
ReplicationConfig.clone()
Returns a copy of this configuration object. |
ReplicationConfig |
ReplicatedEnvironment.getRepConfig()
Return the replication configuration that has been used to create this handle. |
ReplicationConfig |
ReplicationConfig.setConfigParam(String paramName,
String value)
|
ReplicationConfig |
ReplicationConfig.setConsistencyPolicy(ReplicaConsistencyPolicy policy)
Sets the consistency policy to be associated with the configuration. |
ReplicationConfig |
ReplicationConfig.setGroupName(String groupName)
Sets the name for the replication group. |
ReplicationConfig |
ReplicationConfig.setHelperHosts(String hostsAndPorts)
Identify one or more helpers nodes by their host and port pairs in this format: |
ReplicationConfig |
ReplicationConfig.setMaxClockDelta(long maxClockDelta,
TimeUnit unit)
Sets the maximum acceptable clock skew between this Replica and its Feeder, which is the node that is the source of its replication stream. |
ReplicationConfig |
ReplicationConfig.setNodeHostPort(String hostPort)
Sets the hostname and port associated with this node. |
ReplicationConfig |
ReplicationConfig.setNodeName(String nodeName)
Sets the name to be associated with this node. |
ReplicationConfig |
ReplicationConfig.setNodeType(NodeType nodeType)
Sets the type of this node. |
ReplicationConfig |
ReplicationConfig.setReplicaAckTimeout(long replicaCommitTimeout,
TimeUnit unit)
Set the replica commit timeout. |
ReplicationConfig |
ReplicationConfig.setSyncupProgressListener(ProgressListener<SyncupProgress> progressListener)
Configure the environment to make periodic calls to a ProgressListener to provide feedback on replication stream sync-up. |
Constructors in com.sleepycat.je.rep with parameters of type ReplicationConfig | |
---|---|
ReplicatedEnvironment(File envHome,
ReplicationConfig repConfig,
EnvironmentConfig envConfig)
A convenience constructor that defaults the replica consistency policy and the initial election policy to be used. |
|
ReplicatedEnvironment(File envHome,
ReplicationConfig repConfig,
EnvironmentConfig envConfig,
ReplicaConsistencyPolicy consistencyPolicy,
QuorumPolicy initialElectionPolicy)
Creates a replicated environment handle and starts participating in the replication group as either a Master or a Replica. |
Uses of ReplicationConfig in com.sleepycat.je.rep.monitor |
---|
Constructors in com.sleepycat.je.rep.monitor with parameters of type ReplicationConfig | |
---|---|
Monitor(ReplicationConfig monitorConfig)
Deprecated. As of JE 5, replaced by Monitor.Monitor(MonitorConfig) |
|
Berkeley DB Java Edition version 5.0.34 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |