Package org.woped.quantana.sim

Examples of org.woped.quantana.sim.SimReportServerStats


   
    for (int i = 1; i <= numServers; i++) {
      String id = produceID((String) stm.getValueAt(i, 0));
      SimServer s = serv.get(id);
      try{
      SimReportServerStats sst = (SimReportServerStats)rs.getServStats().get(s);     
      stm.setValueAt(String.format("%.2f", sst.getAvgQLength()+sst.getAvgResNumber()), i, 1);
      stm.setValueAt(String.format("%.1f",lambda*(getUnfoldedSum(id)*l_)), i, 2);
      stm.setValueAt(String.format("%.2f", sst.getAvgServTime()+sst.getAvgWaitTime()), i, 3);
      stm.setValueAt(String.format("%.2f", sst.getAvgServTime()), i, 4);
      stm.setValueAt(String.format("%.2f", sst.getAvgWaitTime()), i, 5);
      }catch(Exception e){
        stm.setValueAt("", i, 1);
        stm.setValueAt("", i, 2);
        stm.setValueAt("", i, 3);
        stm.setValueAt("", i, 4);       
View Full Code Here

TOP

Related Classes of org.woped.quantana.sim.SimReportServerStats

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.