/** Returns the units for the monitor */ public String getUnits() { return (String) getMonKey().getValue(MonKey.UNITS_HEADER); }
/** Returns the label for the monitor */ public String getLabel() { return (String) getMonKey().getValue(MonKey.LABEL_HEADER); }
/** Returns the label for the monitor */ public String getLabel() { return (String) getMonKey().getValue(MonKey.LABEL_HEADER); }
/** Returns the units for the monitor */ public String getUnits() { return (String) getMonKey().getValue(MonKey.UNITS_HEADER); }
public FinalizedMonitor(Monitor m){ header = (String)m.getMonKey().getValue(MonKey.LABEL_HEADER); units = (String)m.getMonKey().getValue(MonKey.UNITS_HEADER); avg = m.getAvg(); hits = m.getHits(); stdDev = m.getStdDev(); lastValue = m.getLastValue(); max = m.getMax(); min = m.getMin(); total = m.getTotal(); }