Package com.alibaba.jstorm.ui.model

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


  private List<ComponentSummary> getComponentSummaries(TopologyInfo summ,
      List<TaskSummary> ts) {
    List<ComponentSummary> ret = new ArrayList<ComponentSummary>();

    ComponentSummary cs = new ComponentSummary();

    cs.setComponentId(componentid);
    cs.setTopologyname(summ.get_name());
    cs.setParallelism(String.valueOf(ts.size()));

    ret.add(cs);

    return ret;
  }
View Full Code Here


  private List<ComponentSummary> getComponentSummaries(TopologyInfo summ,
      List<TaskSummary> ts) {
    List<ComponentSummary> ret = new ArrayList<ComponentSummary>();

    ComponentSummary cs = new ComponentSummary();

    cs.setComponentId(componentid);
    cs.setTopologyname(summ.get_name());
    cs.setParallelism(String.valueOf(ts.size()));

    ret.add(cs);

    return ret;
  }
View Full Code Here

TOP

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

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.