|
Berkeley DB Java Edition version 5.0.34 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MonitorConfig | |
---|---|
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 MonitorConfig in com.sleepycat.je.rep.monitor |
---|
Fields in com.sleepycat.je.rep.monitor declared as MonitorConfig | |
---|---|
static MonitorConfig |
MonitorConfig.DEFAULT
An instance created using the default constructor is initialized with the default settings. |
Methods in com.sleepycat.je.rep.monitor that return MonitorConfig | |
---|---|
MonitorConfig |
MonitorConfig.clone()
Returns a copy of this configuration object. |
MonitorConfig |
MonitorConfig.setGroupName(String groupName)
Sets the name for the replication group. |
MonitorConfig |
MonitorConfig.setHelperHosts(String helperHosts)
Identify one or more helpers nodes by their host and port pairs in this format: |
MonitorConfig |
MonitorConfig.setNodeHostPort(String hostPort)
Sets the hostname and port associated with this monitor. |
MonitorConfig |
MonitorConfig.setNodeName(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. |
Constructors in com.sleepycat.je.rep.monitor with parameters of type MonitorConfig | |
---|---|
Monitor(MonitorConfig monitorConfig)
Creates a monitor instance. |
|
Berkeley DB Java Edition version 5.0.34 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |