sdsDisablePrimaryConnection

sdsDisablePrimaryConnection();

The sdsDisablePrimaryConnection method of the JadeDatabaseAdmin class causes the secondary server or RPS node to close the connection to its primary server, if open, leaving the connection closed. This places a secondary database or RPS node in an offline mode in which it can continue tracking and providing read-only database access while not receiving further journals from the primary database.

Use the sdsReconnectNow method to attempt to re-establish a connection to the primary.

You can also use the sdsDisablePrimaryConnection method to clear and re-establish a disrupted network link. In the event that a connection becomes disrupted because of a problem in the network path, call the sdsDisablePrimaryConnection method to drop the failed connection and then the sdsReconnectNow method to attempt to establish a fresh network connection.