public void shutdown() { assert state == MODULE_RUNNING; close(); setExitRequested(true); doNotifyAll(); try { processingThread.join(); restarterThread.join(); } catch (InterruptedException e) { logger.info(e); } logger.info("Module shut down."); state = MODULE_OFFLINE; }
public void shutdown() { assert state == MODULE_RUNNING; close(); setExitRequested(true); doNotifyAll(); try { processingThread.join(); restarterThread.join(); } catch (InterruptedException e) { logger.info(e); } logger.info("Module shut down."); state = MODULE_OFFLINE; }
logger.info("Restarting module."); try { close(); open(); setNeedToRestart(false);
logger.info("Restarting module."); try { close(); open(); setNeedToRestart(false);
public void shutdown() { assert state == MODULE_RUNNING; close(); setExitRequested(true); doNotifyAll(); try { processingThread.join(); restarterThread.join(); } catch (InterruptedException e) { logger.info(e); } logger.info("Module shut down."); state = MODULE_OFFLINE; }
logger.info("Restarting module."); try { close(); open(); setNeedToRestart(false);