Package com.alibaba.jstorm.cluster

Examples of com.alibaba.jstorm.cluster.StormClusterState.task_info()


      for(Entry<String, List<MetricInfo>> entry : metricMap.entrySet()) {
        String taskId = entry.getKey();
        List<MetricInfo> MetricList = entry.getValue();
       
        try {
          String component = clusterState.task_info(topologyId, Integer.valueOf(taskId)).getComponentId();
            TaskMetricInfo taskMetricInfo = new TaskMetricInfo(taskId, component);
           
              for(MetricInfo metricInfo : MetricList) {
              taskMetricInfo.updateMetricData(metricInfo);
              }
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.