void addCall(AsyncCall call) { if (LOG.isDebugEnabled()) { LOG.debug("add " + call); } queue.offer(call); processor.tryStart(); }
void tryStop(Daemon d) { if (queue.isEmpty(GRACE_PERIOD)) { kill(d); } }
void addCall(AsyncCall call) { if (LOG.isDebugEnabled()) { LOG.debug("add " + call); } queue.offer(call); processor.tryStart(); }
void tryStop(Daemon d) { if (queue.isEmpty(GRACE_PERIOD)) { kill(d); } }