|
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.ReplicationManagerAckPolicy
public final class ReplicationManagerAckPolicy
A class that provides definitions for the types of network ack policyto use when transmitting messages between replication sites using theReplication Manager.
Set using the EnvironmentConfig.setReplicationManagerAckPolicy
API.
Field Summary | |
---|---|
static ReplicationManagerAckPolicy |
ALL
The master should wait until all replication clients have acknowledged each permanent replication message. |
static ReplicationManagerAckPolicy |
ALL_AVAILABLE
The master should wait until all currently connected replication clients have acknowledged each permanent replication message. |
static ReplicationManagerAckPolicy |
ALL_PEERS
The master should wait until all electable peers have acknowledged each permanent replication message (where "electable peer" means a client capable of being subsequently elected master of the replication group). |
static ReplicationManagerAckPolicy |
NONE
The master should not wait for any client replication message acknowledgments. |
static ReplicationManagerAckPolicy |
ONE
The master should wait until at least one client site has acknowledged each permanent replication message. |
static ReplicationManagerAckPolicy |
ONE_PEER
The master should wait until at least one electable peer has acknowledged each permanent replication message (where "electable peer" means a client capable of being subsequently elected master of the replication group). |
static ReplicationManagerAckPolicy |
QUORUM
The master should wait until it has received acknowledgements from the minimum number of electable peers sufficient to ensure that the effect of the permanent record remains durable if an election is held (where "electable peer" means a client capable of being subsequently elected master of the replication group). |
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 ReplicationManagerAckPolicy ALL
public static final ReplicationManagerAckPolicy ALL_AVAILABLE
public static final ReplicationManagerAckPolicy ALL_PEERS
public static final ReplicationManagerAckPolicy NONE
public static final ReplicationManagerAckPolicy ONE
public static final ReplicationManagerAckPolicy ONE_PEER
public static final ReplicationManagerAckPolicy QUORUM
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 |