| Package | Description |
|---|---|
| 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.
|
| Modifier and Type | Field | Description |
|---|---|---|
static MonitorConfig |
MonitorConfig.DEFAULT |
An instance created using the default constructor is initialized with
the default settings.
|
| Modifier and Type | Method | Description |
|---|---|---|
MonitorConfig |
MonitorConfig.clone() |
Returns a copy of this configuration object.
|
MonitorConfig |
MonitorConfig.setGroupName(java.lang.String groupName) |
Sets the name for the replication group.
|
MonitorConfig |
MonitorConfig.setHelperHosts(java.lang.String helperHosts) |
Identify one or more helpers nodes by their host and port pairs in this
format:
|
MonitorConfig |
MonitorConfig.setNodeHostPort(java.lang.String hostPort) |
Sets the hostname and port associated with this monitor.
|
MonitorConfig |
MonitorConfig.setNodeName(java.lang.String nodeName) |
Sets the name to be associated with this
monitor. |
MonitorConfig |
MonitorConfig.setNumRetries(int numRetries) |
Sets the number of times a ping thread attempts to contact a node
before deeming it unreachable.
|
MonitorConfig |
MonitorConfig.setRetryInterval(long retryInterval) |
Sets the number of milliseconds between ping thread retries.
|
MonitorConfig |
MonitorConfig.setSocketConnectTimeout(int socketConnectTimeout) |
Sets the socketConnection timeout, in milliseconds, used
when the ping thread attempts to establish a connection with a
replication node.
|
| Constructor | Description |
|---|---|
Monitor(MonitorConfig monitorConfig) |
Creates a monitor instance.
|
Copyright (c) 2002, 2018 Oracle and/or its affiliates. All rights reserved.