Package | Description |
---|---|
com.sleepycat.db |
Modifier and Type | Field and Description |
---|---|
static ReplicationConfig |
ReplicationConfig.AUTOINIT
The replication master should automatically re-initialize outdated
clients (defaults to on.)
|
static ReplicationConfig |
ReplicationConfig.BULK
The replication master should send groups of records to the clients in a
single network transfer.
|
static ReplicationConfig |
ReplicationConfig.DELAYCLIENT
The client should delay synchronizing to a newly declared master
(defaults to off).
|
static ReplicationConfig |
ReplicationConfig.ELECTIONS
Replication Manager automatically runs elections to choose a new
master when the old master appears to have become disconnected.
|
static ReplicationConfig |
ReplicationConfig.FORWARD_WRITES
Enable simple write forwarding for this site.
|
static ReplicationConfig |
ReplicationConfig.LEASE
Master leases will be used for this site.
|
static ReplicationConfig |
ReplicationConfig.NOWAIT
Berkeley DB method calls that would normally block while clients are in
recovery should return errors immediately.
|
static ReplicationConfig |
ReplicationConfig.PREFMAS_CLIENT
This flag is used to specify the client site in a replication group
operating in preferred master mode.
|
static ReplicationConfig |
ReplicationConfig.PREFMAS_MASTER
This flag is used to specify the preferred master site in a replication
group operating in preferred master mode.
|
static ReplicationConfig |
ReplicationConfig.STRICT_2SITE
Replication Manager observes the strict "majority" rule in managing
elections, even in a group with only 2 sites.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Environment.getReplicationConfig(ReplicationConfig config)
Get the configuration of the replication subsystem.
|
void |
Environment.setReplicationConfig(ReplicationConfig config,
boolean onoff)
Configure the replication subsystem.
|
Copyright (c) 1996, 2017 Oracle and/or its affiliates. All rights reserved.