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; }
setNeedToRestart(false); logger.info("Module restarted"); doNotifyAll(); nrFailuresRestarting = 0; // succeeded } catch (Exception e) { doNotifyAll();
setNeedToRestart(false); logger.info("Module restarted"); doNotifyAll(); nrFailuresRestarting = 0; // succeeded } catch (Exception e) { doNotifyAll();
MaryData output = externalIO(request.getInput()); request.setOutput(output); doNotifyAll(); // let them know we're done } catch (Exception e) { logger.error("Problem occurred during I/O with external module. " + "Requesting module restart.", e); doNotifyAll();
MaryData output = externalIO(request.getInput()); request.setOutput(output); doNotifyAll(); // let them know we're done } catch (Exception e) { logger.error("Problem occurred during I/O with external module. " + "Requesting module restart.", e); doNotifyAll();
doNotifyAll(); logger.info("Now waiting for request to be processed"); long tStart = System.currentTimeMillis(); request.setProblemOccurred(false); addRequest(request); doNotifyAll(); logger.info("Waiting for request to be processed (2nd try)"); tStart = System.currentTimeMillis();
doNotifyAll(); logger.info("Now waiting for request to be processed"); long tStart = System.currentTimeMillis(); request.setProblemOccurred(false); addRequest(request); doNotifyAll(); logger.info("Waiting for request to be processed (2nd try)"); tStart = System.currentTimeMillis();
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; }
setNeedToRestart(false); logger.info("Module restarted"); doNotifyAll(); nrFailuresRestarting = 0; // succeeded } catch (Exception e) { doNotifyAll();
MaryData output = externalIO(request.getInput()); request.setOutput(output); doNotifyAll(); // let them know we're done } catch (Exception e) { logger.error("Problem occurred during I/O with external module. " + "Requesting module restart.", e); doNotifyAll();
doNotifyAll(); logger.info("Now waiting for request to be processed"); long tStart = System.currentTimeMillis(); request.setProblemOccurred(false); addRequest(request); doNotifyAll(); logger.info("Waiting for request to be processed (2nd try)"); tStart = System.currentTimeMillis();