Package com.alibaba.jstorm.schedule

Examples of com.alibaba.jstorm.schedule.MonitorRunnable


  @SuppressWarnings("rawtypes")
  private void initMonitor(Map conf) {
    final ScheduledExecutorService scheduExec = data.getScheduExec();

    // Schedule Nimbus monitor
    MonitorRunnable r1 = new MonitorRunnable(data);

    int monitor_freq_secs = JStormUtils.parseInt(
        conf.get(Config.NIMBUS_MONITOR_FREQ_SECS), 10);
    scheduExec.scheduleAtFixedRate(r1, 0, monitor_freq_secs,
        TimeUnit.SECONDS);
View Full Code Here

TOP

Related Classes of com.alibaba.jstorm.schedule.MonitorRunnable

Copyright © 2018 www.massapicom. 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.