public void wipeInMemorySettings ( ) { this . waitUntilInitialized ( ) ; syncLock . lock ( ) ; try { this . instanceChangeStreamListener . stop ( ) ; if ( instancesColl . find ( ) . first ( ) == null ) { throw new IllegalStateException ( "expected to find instance configuration" ) ; } this . syncConfig = new InstanceSynchronizationConfig ( configDb ) ; this . instanceChangeStreamListener = new InstanceChangeStreamListenerImpl ( syncConfig , service , networkMonitor , authMonitor ) ; this . isConfigured = false ; this . stop ( ) ; } finally { syncLock . unlock ( ) ; } }
Reloads the synchronization config . This wipes all in - memory synchronization settings .