| 
Berkeley DB version 5.3.28  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sleepycat.db.ReplicationConfig
public final class ReplicationConfig
Settings that configure Berkeley DB replication.  Used in the Environment.setReplicationConfig(com.sleepycat.db.ReplicationConfig, boolean) method.
| Field Summary | |
|---|---|
static ReplicationConfig | 
AUTOINIT
The replication master should automatically re-initialize outdated clients (defaults to on.)  | 
static ReplicationConfig | 
BULK
The replication master should send groups of records to the clients in a single network transfer.  | 
static ReplicationConfig | 
DELAYCLIENT
The client should delay synchronizing to a newly declared master (defaults to off).  | 
static ReplicationConfig | 
ELECTIONS
Replication Manager automatically runs elections to choose a new master when the old master appears to have become disconnected.  | 
static ReplicationConfig | 
LEASE
Master leases will be used for this site.  | 
static ReplicationConfig | 
NOWAIT
Berkeley DB method calls that would normally block while clients are in recovery should return errors immediately.  | 
static ReplicationConfig | 
STRICT_2SITE
Replication Manager observes the strict "majority" rule in managing elections, even in a group with only 2 sites.  | 
| 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 ReplicationConfig BULK
public static final ReplicationConfig DELAYCLIENT
Environment.syncReplication() method.
public static final ReplicationConfig AUTOINIT
public static final ReplicationConfig NOWAIT
public static final ReplicationConfig STRICT_2SITE
public static final ReplicationConfig ELECTIONS
public static final ReplicationConfig LEASE
    Configuring this option may result in the Database.get()
    and Cursor.get*() methods throwing a
    DatabaseException when attempting to read entries from a database
    after the site's master lease has expired.
    
Once this option is turned on, it may never be turned off.
| 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 | |||||||||