Exemple #1
0
 @Override
 public void stop() {
   // Disables message processing
   enabled = false;
   serviceFactory.stop();
   manager.stop();
   super.stop();
   daemonConnection.stop();
 }
Exemple #2
0
 /** Stop monitoring Swift. */
 @Override
 public void stop() {
   synchronized (connectionsLock) {
     if (scheduler != null) {
       clear();
       scheduler.shutdown();
       scheduler = null;
       for (final DaemonConnection connection : monitoredConnections.keySet()) {
         connection.stop();
       }
     }
   }
 }