public TabularResultData addTable() { return addTable(String.valueOf(tablesCount)); }
public TabularResultData addTable() { return addTable(String.valueOf(tablesCount)); }
private static void createPageTableAndBanner(SectionResultData page, String[] header, Object[][] table) { TabularResultData resultData = page.addTable(); int columns = header.length; for (int i = 0; i < table.length; i++) { int rowLength = table[i].length; if (rowLength != columns) throw new RuntimeException("Row contains more than " + columns + " : " + rowLength); } for (int i = 0; i < table.length; i++) { for (int j = 0; j < columns; j++) { resultData.accumulate(header[j], table[i][j]); } } }
TabularResultData jvmInputArgs = crd.addSection().addSection().addTable();
toString(diskStoreDetails.isPdxSerializationMetaDataStored(), "Yes", "No")); final TabularResultData diskDirTable = diskStoreData.addSection().addTable(); final TabularResultData regionTable = diskStoreData.addSection().addTable(); final TabularResultData cacheServerTable = diskStoreData.addSection().addTable(); final TabularResultData gatewayTable = diskStoreData.addSection().addTable(); final TabularResultData asyncEventQueueTable = diskStoreData.addSection().addTable();
while(it.hasNext()){ Entry<String, String> entry = it.next(); TabularResultData poolStatsResultTable = sectionResult.addTable("Pool Stats For Pool Name = "+entry.getKey()); poolStatsResultTable.setHeader("Pool Stats For Pool Name = "+ entry.getKey()); String poolStatsStr = entry.getValue();
toString(diskStoreDetails.isPdxSerializationMetaDataStored(), "Yes", "No")); final TabularResultData diskDirTable = diskStoreData.addSection().addTable(); final TabularResultData regionTable = diskStoreData.addSection().addTable(); final TabularResultData cacheServerTable = diskStoreData.addSection().addTable(); final TabularResultData gatewayTable = diskStoreData.addSection().addTable(); final TabularResultData asyncEventQueueTable = diskStoreData.addSection().addTable();
CompositeResultData gcResultTable = ResultBuilder .createCompositeResultData(); TabularResultData resultTable = gcResultTable.addSection().addTable( "Table1"); String headerText = "GC Summary";
CompositeResultData gcResultTable = ResultBuilder .createCompositeResultData(); TabularResultData resultTable = gcResultTable.addSection().addTable( "Table1"); String headerText = "GC Summary";
CompositeResultData data = ResultBuilder.createCompositeResultData(); SectionResultData section = data.addSection(); TabularResultData table = section.addTable(); section.addData(RESULT_FLAG, operationCompletedSuccessfully); if(infoString!=null){
CompositeResultData data = ResultBuilder.createCompositeResultData(); SectionResultData section = data.addSection(); TabularResultData table = section.addTable(); section.addData(RESULT_FLAG, operationCompletedSuccessfully); if(infoString!=null){
TabularResultData r1Table = r1Section.addTable("R1Members"); r1Table.accumulate("Member Id", "host1(3467):12435:12423").accumulate("PrimaryEntryCount", 20000).accumulate("BackupEntryCount", 20000).accumulate("Memory(MB)", "100").accumulate("NumOfCopies", 1); r1Table.accumulate("Member Id", "host3(5756):57665:90923").accumulate("PrimaryEntryCount", 25000).accumulate("BackupEntryCount", 10000).accumulate("Memory(MB)", "200").accumulate("NumOfCopies", 1); r3SubSection.addData("Config2", "abcde"); r3SubSection.addData("Config3", "abcdfg"); TabularResultData r3Table = r3Section.addTable("R3Members"); r3Table.accumulate("Member Id", "host1(3467):12435:12423").accumulate("PrimaryEntryCount", 20000).accumulate("BackupEntryCount", 20000).accumulate("Memory(MB)", "100").accumulate("NumOfCopies", 1).accumulate("NumOfBuckets", 100); r3Table.accumulate("Member Id", "host2(3353):23545:14723").accumulate("PrimaryEntryCount", 20000).accumulate("BackupEntryCount", 20000).accumulate("Memory(MB)", "100").accumulate("NumOfCopies", 1).accumulate("NumOfBuckets", 100);
TabularResultData r1Table = r1Section.addTable("R1Members"); r1Table.accumulate("Member Id", "host1(3467):12435:12423").accumulate("PrimaryEntryCount", 20000).accumulate("BackupEntryCount", 20000).accumulate("Memory(MB)", "100").accumulate("NumOfCopies", 1); r1Table.accumulate("Member Id", "host3(5756):57665:90923").accumulate("PrimaryEntryCount", 25000).accumulate("BackupEntryCount", 10000).accumulate("Memory(MB)", "200").accumulate("NumOfCopies", 1); r3SubSection.addData("Config2", "abcde"); r3SubSection.addData("Config3", "abcdfg"); TabularResultData r3Table = r3Section.addTable("R3Members"); r3Table.accumulate("Member Id", "host1(3467):12435:12423").accumulate("PrimaryEntryCount", 20000).accumulate("BackupEntryCount", 20000).accumulate("Memory(MB)", "100").accumulate("NumOfCopies", 1).accumulate("NumOfBuckets", 100); r3Table.accumulate("Member Id", "host2(3353):23545:14723").accumulate("PrimaryEntryCount", 20000).accumulate("BackupEntryCount", 20000).accumulate("Memory(MB)", "100").accumulate("NumOfCopies", 1).accumulate("NumOfBuckets", 100);
private static void createPageTableAndBanner(SectionResultData page, String[] header, Object[][] table) { TabularResultData resultData = page.addTable(); int columns = header.length; for (int i = 0; i < table.length; i++) { int rowLength = table[i].length; if (rowLength != columns) throw new RuntimeException("Row contains more than " + columns + " : " + rowLength); } for (int i = 0; i < table.length; i++) { for (int j = 0; j < columns; j++) { resultData.accumulate(header[j], table[i][j]); } } }