@Override public synchronized void run() { try { syncContext(true); while (true) { processConnectors(); this.wait(interval); syncContext(false); } } catch (InterruptedException ex) { log.debug("Monitoring thread was interrupted", ex); } }
@Override public synchronized void run() { try { syncContext(true); while (true) { processConnectors(); this.wait(interval); syncContext(false); } } catch (InterruptedException ex) { log.debug("Monitoring thread was interrupted", ex); } }