Package com.sleepycat.db
Class ReplicationManagerAckPolicy
java.lang.Object
com.sleepycat.db.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
FieldsModifier and TypeFieldDescriptionstatic final ReplicationManagerAckPolicyThe master should wait until all replication clients have acknowledged each permanent replication message.static final ReplicationManagerAckPolicyThe master should wait until all currently connected replication clients have acknowledged each permanent replication message.static final ReplicationManagerAckPolicyThe 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 final ReplicationManagerAckPolicyThe master should not wait for any client replication message acknowledgments.static final ReplicationManagerAckPolicyThe master should wait until at least one client site has acknowledged each permanent replication message.static final ReplicationManagerAckPolicyThe 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 final ReplicationManagerAckPolicyThe 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
-
Field Details
-
ALL
The master should wait until all replication clients have acknowledged each permanent replication message. -
ALL_AVAILABLE
The master should wait until all currently connected replication clients have acknowledged each permanent replication message. -
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). -
NONE
The master should not wait for any client replication message acknowledgments. -
ONE
The master should wait until at least one client site has acknowledged each permanent replication message. -
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). -
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). This is the default acknowledgement policy.
-
-
Method Details