Package | Description |
---|---|
com.sleepycat.db |
Modifier and Type | Field | 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.DISABLE_POLL |
This flag is used to prevent the use of poll() as polling method for
networking events on the target site.
|
static ReplicationConfig |
ReplicationConfig.DISABLE_SSL |
This flag is used to prevent the use of SSL for securing messages shared
between the nodes of a replication group.
|
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.ENABLE_EPOLL |
This flag is used to force the use of epoll as polling method for
networking events instad of poll or select.
|
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 | 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, 2020 Oracle and/or its affiliates. All rights reserved.