use of com.sequenceiq.periscope.monitor.evaluator.EvaluatorExecutor in project cloudbreak by hortonworks.
the class AbstractMonitor method execute.
@Override
public void execute(JobExecutionContext context) {
MDCBuilder.buildMdcContext();
evalContext(context);
for (Cluster cluster : getClusters()) {
EvaluatorExecutor evaluatorExecutor = applicationContext.getBean(getEvaluatorType().getSimpleName(), EvaluatorExecutor.class);
evaluatorExecutor.setContext(getContext(cluster));
executorService.submit(evaluatorExecutor);
}
}
Aggregations