log.info(HORIZONTAL_RULE);
log.info(" Command Line Configuration");
log.info(HORIZONTAL_RULE);
log.info(config.getConfigDumpString());
Signal.handle(new Signal("TERM"), new SignalHandler() {
public void handle(Signal sig) {
log.error("Received SIGTERM signal. Will teardown.");
// stop run, it will clean up
runBenchmark = false;
timer.cancel();
benchmarkThread.interrupt();
}
});
Signal.handle(new Signal("INT"), new SignalHandler() {
public void handle(Signal sig) {
log.error("Received SIGINT signal. Will teardown.");
// stop run, it will clean up
runBenchmark = false;