|
Berkeley DB XML version 2.3.10 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sleepycat.db.ReplicationManagerStartPolicy
public final class ReplicationManagerStartPolicy
This class provides definitions of the various start policies that
can be specified when starting a replication client using the
Environment.replicationManagerStart call.
| Field Summary | |
|---|---|
static ReplicationManagerStartPolicy |
REP_CLIENT
Start as a client site, and do not call for an election. |
static ReplicationManagerStartPolicy |
REP_ELECTION
Start as a client, and call for an election if no master is found. |
static ReplicationManagerStartPolicy |
REP_FULL_ELECTION
Start as a client, and call for an election if no master is found. |
static ReplicationManagerStartPolicy |
REP_MASTER
Start as a master site, and do not call for an election. |
| Method Summary | |
|---|---|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final ReplicationManagerStartPolicy REP_CLIENT
public static final ReplicationManagerStartPolicy REP_ELECTION
public static final ReplicationManagerStartPolicy REP_FULL_ELECTION
The DB_REP_FULL_ELECTION flag configures a single special election on startup, where a master will only be confirmed if all members of the replication group vote. Subsequent elections will revert to only requiring a simple majority to elect a new master.
public static final ReplicationManagerStartPolicy REP_MASTER
| Method Detail |
|---|
public String toString()
toString in class Object
|
Berkeley DB XML version 2.3.10 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||