Examples of SlaveMonitorInfo


Examples of com.taobao.top.analysis.node.monitor.SlaveMonitorInfo

    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);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.