/** Return the header with basic data and one column for each range. Note this only will work with ranges of the same type */ public String[] getDisplayHeader() { List header=new ArrayList(); if (hasData()) { // being as all monitors in the composite should have the same range // getting the first one should suffice to get the header getFirstMon().getDisplayHeader(header); return (String[]) header.toArray(new String[0]); } else return null; }
/** Return the header that applies to all monitors. It does not include range column headers. ** It will contain label, hits, total, avg, min, max and active among other columns **/ public String[] getBasicHeader() { List header=new ArrayList(); if (hasData()) { // being as all monitors in the composite should have the same range // getting the first one should suffice to get the header getFirstMon().getBasicHeader(header); return (String[]) header.toArray(new String[0]); } else return null; }
/** Return the header with basic data and columns for each field within the range. note getHeader only works if the range of all monitors in the composite are the same. **/ public String[] getHeader() { List header=new ArrayList(); if (hasData()) { // being as all monitors in the composite should have the same range // getting the first one should suffice to get the header getFirstMon().getHeader(header); return (String[]) header.toArray(new String[0]); } else return null; }
/** Return the header with basic data and columns for each field within the range. note getHeader only works if the range of all monitors in the composite are the same. **/ public String[] getHeader() { List header=new ArrayList(); if (hasData()) { // being as all monitors in the composite should have the same range // getting the first one should suffice to get the header getFirstMon().getHeader(header); return (String[]) header.toArray(new String[0]); } else return null; }
/** Return the header with basic data and one column for each range. Note this only will work with ranges of the same type */ public String[] getDisplayHeader() { List header=new ArrayList(); if (hasData()) { // being as all monitors in the composite should have the same range // getting the first one should suffice to get the header getFirstMon().getDisplayHeader(header); return (String[]) header.toArray(new String[0]); } else return null; }
/** Return the header that applies to all monitors. It does not include range column headers. ** It will contain label, hits, total, avg, min, max and active among other columns **/ public String[] getBasicHeader() { List header=new ArrayList(); if (hasData()) { // being as all monitors in the composite should have the same range // getting the first one should suffice to get the header getFirstMon().getBasicHeader(header); return (String[]) header.toArray(new String[0]); } else return null; }
public MonKey getMonKey() { if (!hasData()) return null; return getFirstMon().getMonKey(); }
@Override public MonKey getMonKey() { if (!hasData()) return null; return getFirstMon().getMonKey(); }