Package com.sleepycat.db
Class ReplicationManagerStartPolicy
java.lang.Object
com.sleepycat.db.ReplicationManagerStartPolicy
This class provides definitions of the various start policies thatcan be specified when starting a replication client using the
Environment.replicationManagerStart call.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ReplicationManagerStartPolicyStart as a client site, and do not call for an election.static final ReplicationManagerStartPolicyStart as a client, and call for an election if no master is found.static final ReplicationManagerStartPolicyStart as a master site, and do not call for an election. -
Method Summary
-
Field Details
-
REP_MASTER
Start as a master site, and do not call for an election. Note there must never be more than a single master in any replication group, and only one site should ever be started with the DB_REP_MASTER flag specified. -
REP_CLIENT
Start as a client site, and do not call for an election. -
REP_ELECTION
Start as a client, and call for an election if no master is found.
-
-
Method Details