Skip to content

Commit 7099e48

Browse files
authored
Update README.md
1 parent 11ac8ec commit 7099e48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public class Test{
4848

4949
dbSyncAgent.connect(); //Establish connection to server and client databases.
5050
dbSyncAgent.sync(); //Call this when synchronizing for first time, even if live synchronization is required. If the latter is the case, call the method for live synchronization immediately after this.
51+
dbSyncAgent.hold(); //Wait for the sync() method to do finish its job.
5152
dbSyncAgent.liveSync(); //Activates live sync. Make sure syncInterval() method has been used or the sync interval property was set while building the DBSyncObject. So not use this method if the client server has been idle for a while or is starting for the first time, especially if the server receives a lot of entires within this period. In this case, call the sync() function method, followed by this method.
5253

5354
System.out.println("Enter a command:");

0 commit comments

Comments
 (0)