use of com.github.diegopacheco.dynomite.cluster.checker.tasks.engine.DCCTaskExecutionEngine in project dynomite-cluster-checker by diegopacheco.
the class DynomiteClusterCheckerMain method main.
public static void main(String[] args) {
Chronometer stopWatch = new Chronometer();
try {
stopWatch.start();
Boolean isTelemetryMode = isTelemtryModeSet(args) ? true : false;
DCCTaskExecutionEngine dcc = new DCCTaskExecutionEngine();
String jsonResult = dcc.run(extractArg(0, args), isTelemetryMode);
logger.info(jsonResult);
} catch (Exception e) {
logger.error("Error: " + e);
} finally {
stopWatch.stop();
logger.info("--");
logger.info(stopWatch.getDiffAsSecondsString());
System.exit(0);
}
}
Aggregations