log.info("Killing service.");
stoppingTime = System.currentTimeMillis();
if (async) {
killable.killAsync();
} else {
killable.kill();
}
}
long stoppedTime = System.currentTimeMillis();
slaveState.getTimeline().addEvent(LIFECYCLE, new Timeline.IntervalEvent(stoppingTime, "Stop", stoppedTime - stoppingTime));
} finally {