| Package | Description |
|---|---|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
ArbiterConfig |
ArbiterConfig.clone() |
ArbiterConfig |
ArbiterConfig.setChannelTimeout(long timeout,
TimeUnit unit) |
ArbiterConfig |
ArbiterConfig.setConfigParam(String paramName,
String value)
Documentation inherited from ArbiterMutableConfig.setConfigParam.
|
ArbiterConfig |
ArbiterConfig.setEnableGroupAcks(boolean val) |
ArbiterConfig |
ArbiterConfig.setFeederTimeout(long timeout,
TimeUnit unit) |
ArbiterConfig |
ArbiterConfig.setGroupName(String groupName)
Sets the name for the replication group.
|
ArbiterConfig |
ArbiterConfig.setHeartbeatInterval(int millis)
Sets the heartbeat interval.
|
ArbiterConfig |
ArbiterConfig.setLoggingHandler(Handler handler) |
ArbiterConfig |
ArbiterConfig.setMessageQueueSize(int val) |
ArbiterConfig |
ArbiterConfig.setNodeHostPort(String hostPort)
Sets the hostname and port associated with this arbiter.
|
ArbiterConfig |
ArbiterConfig.setNodeName(String nodeName)
Sets the name to be associated with this
Arbiter. |
ArbiterConfig |
ArbiterConfig.setPreHeartbeatTimeout(long timeout,
TimeUnit unit) |
ArbiterConfig |
ArbiterConfig.setReceiveBufferSize(int val) |
ArbiterConfig |
ArbiterConfig.setRepNetConfig(ReplicationNetworkConfig netConfig) |
ArbiterConfig |
ArbiterConfig.setStreamOpenTimeout(long timeout,
TimeUnit unit) |
ArbiterConfig |
ArbiterConfig.setUnknownStateTimeout(long timeout,
TimeUnit unit)
Time to wait for the discovery of the Master during the instantiation
of the Arbiter.
|
| Constructor and Description |
|---|
Arbiter(ArbiterConfig arbiterConfig)
An Arbiter used in elections and transaction acknowledgments.
|
Copyright © 2024. All rights reserved.