Assembly: libdb_dotnet53 (in libdb_dotnet53.dll) Version: 5.3.28.0
Syntax
C# |
---|
public void RepSetClockskew( uint fast, uint slow ) |
Visual Basic (Declaration) |
---|
Public Sub RepSetClockskew ( _ fast As UInteger, _ slow As UInteger _ ) |
Visual C++ |
---|
public: void RepSetClockskew( unsigned int fast, unsigned int slow ) |
Parameters
- fast
- Type: System..::.UInt32
The value, relative to slow, of the fastest clock in the group of sites.
- slow
- Type: System..::.UInt32
The value of the slowest clock in the group of sites.
Remarks
Calling this method is optional, the default values for clock skew assume no skew. The user must also configure leases via RepUseMasterLeases. Additionally, the user must also set the master lease timeout via RepLeaseTimeout and the number of sites in the replication group via RepNSites. These settings may be configured in any order. For a description of the clock skew values, see Clock skew in the Berkeley DB Programmer's Reference Guide. For a description of master leases, see Master leases in the Berkeley DB Programmer's Reference Guide.
These arguments can be used to express either raw measurements of a clock timing experiment or a percentage across machines. For instance a group of sites have a 2% variance, then fast should be set to 102, and slow should be set to 100. Or, for a 0.03% difference, you can use 10003 and 10000 respectively.