Package com.alibaba.jstorm.ui.model

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


      String componentId, String type, String window) {

    Map<StaticsType, Object> staticsType = UIUtils.mergeTasks(
        taskSummaries, window);

    Components component = new Components();
    component.setType(type);
    component.setComponetId(componentId);
    component.setParallelism(String.valueOf(taskSummaries.size()));
    component.setValues(staticsType);

    return component;
  }
View Full Code Here


    for (Entry<String, List<TaskSummary>> entry : componentMap.entrySet()) {
      String componentId = entry.getKey();
      List<TaskSummary> taskList = entry.getValue();

      Components component = UIUtils.getComponent(taskList, componentId,
          type, window);

      String lastError = UIUtils.mostRecentError(taskList);
      component.setLastError(lastError);

      components.add(component);

    }
View Full Code Here

TOP

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

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.