<xml></xml>

Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++ Members: Show All Members: Filtered Members: Filtered Members: Filtered

Berkeley DB .NET API Documentation
ReplicationConfig Members
ReplicationConfig Class Constructors Methods Fields Properties See Also

The ReplicationConfig type exposes the following members.

# Constructors

| Name | Description
--- | --- | ---
| ReplicationConfig | Instantiate a new ReplicationConfig object with default configuration values.

# Methods

| Name | Description
--- | --- | ---
| AddRemoteSite | Add a new replication site to the replication manager's list of known sites. It is not necessary for all sites in a replication group to know about all other sites in the group.
| Clockskew | Set the clock skew ratio among replication group members based on the fastest and slowest measurements among the group for use with master leases.
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.)
| GetType | Gets the Type of the current instance. (Inherited from Object.)
| RetransmissionRequest | Set a threshold for the minimum and maximum time that a client waits before requesting retransmission of a missing message.
| ToString | Returns a String that represents the current Object. (Inherited from Object.)
| TransmitLimit | Set a byte-count limit on the amount of data that will be transmitted from a site in response to a single message processed by RepProcessMessage(DatabaseEntry, DatabaseEntry, Int32). The limit is not a hard limit, and the record that exceeds the limit is the last record to be sent.

# Fields

| Name | Description
--- | --- | ---
| BulkTransfer | If true, the replication master will send groups of records to the clients in a single network transfer
| DelayClientSync | If true, the client will delay synchronizing to a newly declared master (defaults to false). Clients configured in this way will remain unsynchronized until the application calls RepSync()()().
| NoAutoInit | If true, the replication master will not automatically re-initialize outdated clients (defaults to false).
| NoBlocking | If true, Berkeley DB method calls that would normally block while clients are in recovery will return errors immediately (defaults to false).
| RepMgrAckPolicy | Specify how master and client sites will handle acknowledgment of replication messages which are necessary for "permanent" records. The current implementation requires all sites in a replication group configure the same acknowledgement policy.
| RepMgrLocalSite | The host information for the local system.

Strict2Site

If true, the Replication Manager will observe the strict "majority" rule in managing elections, even in a group with only 2 sites. This means the client in a 2-site group will be unable to take over as master if the original master fails or becomes disconnected. (See the Elections section in the Berkeley DB Reference Guide for more information.) Both sites in the replication group should have the same value for this parameter.

| Transport | The delegate used to transmit data using the replication application's communication infrastructure.
| UseMasterLeases | If true, master leases will be used for this site (defaults to false).

# Properties

| Name | Description
--- | --- | ---
| AckTimeout | The amount of time the replication manager's transport function waits to collect enough acknowledgments from replication group clients, before giving up and returning a failure indication. The default wait time is 1 second.
| CheckpointDelay | The amount of time a master site will delay between completing a checkpoint and writing a checkpoint record into the log.
| ClockskewFast | The value, relative to ClockskewSlow, of the fastest clock in the group of sites.
| ClockskewSlow | The value of the slowest clock in the group of sites.
| ConnectionRetry | The amount of time the replication manager will wait before trying to re-establish a connection to another site after a communication failure. The default wait time is 30 seconds.
| ElectionRetry | Configure the amount of time the replication manager will wait before retrying a failed election. The default wait time is 10 seconds.
| ElectionTimeout | The timeout period for an election. The default timeout is 2 seconds.
| FullElectionTimeout | An optional configuration timeout period to wait for full election participation the first time the replication group finds a master. By default this option is turned off and normal election timeouts are used. (See the Elections section in the Berkeley DB Reference Guide for more information.)
| HeartbeatMonitor | The amount of time the replication manager, running at a client site, waits for some message activity on the connection from the master (heartbeats or other messages) before concluding that the connection has been lost. When 0 (the default), no monitoring is performed.
| HeartbeatSend | The frequency at which the replication manager, running at a master site, broadcasts a heartbeat message in an otherwise idle system. When 0 (the default), no heartbeat messages will be sent.
| LeaseTimeout | The amount of time a client grants its master lease to a master. When using master leases all sites in a replication group must use the same lease timeout value. There is no default value. If leases are desired, this method must be called prior to calling RepStartClient()()() or RepStartMaster()()().
| NSites | The total number of sites in the replication group.
| Priority | The database environment's priority in replication group elections. A special value of 0 indicates that this environment cannot be a replication group master. If not configured, then a default value of 100 is used.
| RetransmissionRequestMax | The maximum number of microseconds a client waits before requesting retransmission.
| RetransmissionRequestMin | The minimum number of microseconds a client waits before requesting retransmission.
| TransmitLimitBytes | The bytes component of the byte-count limit on the amount of data that will be transmitted from a site in response to a single message processed by RepProcessMessage(DatabaseEntry, DatabaseEntry, Int32).
| TransmitLimitGBytes | The gigabytes component of the byte-count limit on the amount of data that will be transmitted from a site in response to a single message processed by RepProcessMessage(DatabaseEntry, DatabaseEntry, Int32).

# See Also

ReplicationConfig Class
BerkeleyDB Namespace