RepSync Method

Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

C#
Visual Basic
Visual C++

Berkeley DB .NET API Documentation
DatabaseEnvironment..::.RepSync Method
DatabaseEnvironment Class See Also Send Feedback

Force master synchronization to begin for this client.

Namespace: BerkeleyDB
Assembly: libdb_dotnet53 (in libdb_dotnet53.dll) Version: 5.3.28.0

# Syntax

C#
    public void RepSync()

Visual Basic (Declaration)
    Public Sub RepSync

Visual C++
    public:
    void RepSync()

# Remarks

This method is the other half of setting RepDelayClientSync.

If an application has configured delayed master synchronization, the application must synchronize explicitly (otherwise the client will remain out-of-date and will ignore all database changes forwarded from the replication group master). RepSync may be called any time after the client application learns that the new master has been established (by receiving REP_NEWMASTER).

Before calling this method, the RepTransport delegate must already have been configured to send replication messages.

# See Also

DatabaseEnvironment Class
BerkeleyDB Namespace