return config;
}
@Override
public void init() throws AnalysisException {
monitorInfo = new SlaveMonitorInfo();
monitorInfo.setSlaveStartupTime(new Date());
executor = Executors.newSingleThreadScheduledExecutor(new NamedThreadFactory("Slave-Monitor", true));
executor.scheduleWithFixedDelay(new ReportTask(), config.getSlaveReportMonitorInterval() * 2, config.getSlaveReportMonitorInterval(), TimeUnit.SECONDS);
}