Package | Description |
---|---|
com.sleepycat.db |
Modifier and Type | Field and Description |
---|---|
static ReplicationTimeoutType |
ReplicationTimeoutType.ACK_TIMEOUT
Configure the amount of time the replication manager's transport function
waits to collect enough acknowledgments from replication group clients,
before giving up and returning a failure indication.
|
static ReplicationTimeoutType |
ReplicationTimeoutType.CHECKPOINT_DELAY
Configure the amount of time the replication manager will delay between
completing a checkpoint and writing a checkpoint record into the log.
|
static ReplicationTimeoutType |
ReplicationTimeoutType.CONNECTION_RETRY
Configure the amount of time the replication manager will wait before
trying to re-establish a connection to another site after a
communication failure.
|
static ReplicationTimeoutType |
ReplicationTimeoutType.ELECTION_RETRY
Configure the amount of time the replication manager will wait before
retrying a failed election.
|
static ReplicationTimeoutType |
ReplicationTimeoutType.ELECTION_TIMEOUT
The timeout period for an election.
|
static ReplicationTimeoutType |
ReplicationTimeoutType.FULL_ELECTION_TIMEOUT
An optional configuration timeout period to wait for full election
participation the first time the replication group finds a master.
|
static ReplicationTimeoutType |
ReplicationTimeoutType.HEARTBEAT_MONITOR
The amount of time the replication manager, running at a client site,
waits for some message activity on the connection from the master
(heartbeats or other messages) before concluding that the connection
has been lost.
|
static ReplicationTimeoutType |
ReplicationTimeoutType.HEARTBEAT_SEND
The frequency at which the replication manager, running at a master site,
broadcasts a heartbeat message in an otherwise idle system.
|
static ReplicationTimeoutType |
ReplicationTimeoutType.LEASE_TIMEOUT
Configure the amount of time a client grants its master lease to a master.
|
static ReplicationTimeoutType |
ReplicationTimeoutType.WRITE_FORWARD_TIMEOUT
Configure the amount of time a Replication Manager client waits for a response
from a forwarded write operation before returning a failure indication.
|
Modifier and Type | Method and Description |
---|---|
int |
Environment.getReplicationTimeout(ReplicationTimeoutType type)
Gets the timeout applied to the specified timeout type.
|
void |
Environment.setReplicationTimeout(ReplicationTimeoutType type,
int replicationTimeout)
Sets the timeout applied to the specified timeout type.
|
Copyright (c) 1996, 2019 Oracle and/or its affiliates. All rights reserved.