Package com.alibaba.jstorm.ui.model

Examples of com.alibaba.jstorm.ui.model.NimbusSlave


    Map<String, String> followerMap = ZkTool.get_followers(cluster_state);
    if (!followerMap.isEmpty()) {
      for (Entry<String, String> entry : followerMap.entrySet()) {
        String uptime = StatBuckets.prettyUptimeStr(Integer
            .valueOf(entry.getValue()));
        slaves.add(new NimbusSlave(entry.getKey(), uptime, port));
      }
    }
    return slaves;
  }
View Full Code Here

TOP

Related Classes of com.alibaba.jstorm.ui.model.NimbusSlave

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.