/** This returns the data for basic data with no range info. The various getXXXData() methods of * CompositeMonitors can return this information and more. */ public static Object[][] getData() { return factory.getRootMonitor().getBasicData(); }
/** * This returns the data for basic data with no range info. * * The various getXXXData() methods of CompositeMonitors can return this * information and more. * * * * * */ public static Object[][] getData() { return factory.getRootMonitor().getBasicData(); }
Object[][] data=Misc.sort(getBasicData(), sortCol, sortOrder); int rows=data.length; int cols=header.length;
/** A basic report in html format that is sorted. It has summary info for all monitors but * no range info */ public String getReport(int sortCol, String sortOrder) { if (!hasData()) return ""; String[] header=getBasicHeader(); Object[][] data=Misc.sort(getBasicData(), sortCol, sortOrder); int rows=data.length; int cols=header.length; StringBuffer html=new StringBuffer(100000);// guess on report size html.append("\n<table border='1' rules='all'>\n"); for (int i=0;i<cols;i++) html.append("<th>"+header[i]+"</th>"); html.append("<th>"+header[0]+"</th>");//repeat first header html.append("\n"); for (int i=0;i<rows;i++) { html.append("<tr>"); for (int j=0;j<cols;j++) { html.append("<td>"+data[i][j]+"</td>"); } html.append("<td>"+data[i][0]+"</td>");// repeat first column html.append("</tr>\n"); } html.append("</table>"); return html.toString(); }
Object[][] data = Misc.sort(MonitorFactory.getRootMonitor().getBasicData(), 3, "desc"); for (Object[] row : data) { if (((Double) row[1]) > 0) {
printDebug("totals", mf.getRootMonitor().getBasicData());
header = MonitorFactory.getComposite("ms.").getBasicHeader(); data = MonitorFactory.getComposite("ms.").getBasicData(); header = MonitorFactory.getComposite("ms.").getDisplayHeader();
.getExceptionDetail()); printDebug(testCounter + ".3) " + "jamon data - " + message, MonitorFactory.getRootMonitor().getBasicData());