Package com.alibaba.jstorm.ui.model

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


    List<WinComponentStats> ret = new ArrayList<WinComponentStats>();

    Map<StaticsType, Object> staticsMap = UIUtils.mergeTasks(taskList,
        window);

    WinComponentStats winComponentStats = new WinComponentStats();

    winComponentStats.setWindow(window);
    winComponentStats.setValues(staticsMap);

    ret.add(winComponentStats);

    return ret;
  }
View Full Code Here


      }
      spoutNum = Long.valueOf(component.getParallelism());
    }
    Double avergProcess = process / spoutNum;

    WinComponentStats topologyStats = new WinComponentStats();
    topologyStats.setWindow(window);
    topologyStats.setEmitted(JStormUtils.formatValue(emitted));
    topologyStats.setSendTps(JStormUtils.formatValue(sendTps));
    topologyStats.setRecvTps(JStormUtils.formatValue(recvTps));
    topologyStats.setAcked(JStormUtils.formatValue(acked));
    topologyStats.setFailed(JStormUtils.formatValue(failed));
    topologyStats.setProcess(JStormUtils.formatValue(avergProcess));

    List<WinComponentStats> tss = new ArrayList<WinComponentStats>();
    tss.add(topologyStats);
    return tss;
  }
View Full Code Here

    List<WinComponentStats> ret = new ArrayList<WinComponentStats>();

    Map<StaticsType, Object> staticsMap = UIUtils.mergeTasks(taskList,
        window);

    WinComponentStats winComponentStats = new WinComponentStats();

    winComponentStats.setWindow(window);
    winComponentStats.setValues(staticsMap);

    ret.add(winComponentStats);

    return ret;
  }
View Full Code Here

TOP

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

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.