|
Berkeley DB version 5.3.28 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sleepycat.db.ReplicationTimeoutType
public final class ReplicationTimeoutType
The ReplicationTimeoutType defines the types of timeouts that can beconfigured for the Berkeley Db replication functionality.
The class is used in the Environment.setReplicationTimeout
method.
Field Summary | |
---|---|
static 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 |
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 |
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 |
ELECTION_RETRY
Configure the amount of time the replication manager will wait before retrying a failed election. |
static ReplicationTimeoutType |
ELECTION_TIMEOUT
The timeout period for an election. |
static 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 |
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 |
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 |
LEASE_TIMEOUT
Configure the amount of time a client grants its master lease to a master. |
Method Summary | |
---|---|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ReplicationTimeoutType ACK_TIMEOUT
public static final ReplicationTimeoutType CHECKPOINT_DELAY
public static final ReplicationTimeoutType CONNECTION_RETRY
public static final ReplicationTimeoutType ELECTION_TIMEOUT
public static final ReplicationTimeoutType ELECTION_RETRY
public static final ReplicationTimeoutType HEARTBEAT_MONITOR
public static final ReplicationTimeoutType HEARTBEAT_SEND
public static final ReplicationTimeoutType FULL_ELECTION_TIMEOUT
public static final ReplicationTimeoutType LEASE_TIMEOUT
Environment.startReplication
.
Method Detail |
---|
public String toString()
toString
in class Object
|
Berkeley DB version 5.3.28 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |