public double getMaxActive() { double max=MonInternals.MAX_DOUBLE; for (int i=0;i<numRows;i++) { double thisMax=monitors[i].getMaxActive(); if (thisMax>max) max=thisMax; } return max; }
/** * Gets the max active. * * @return maximal active * * @see com.jamonapi.Monitor#getMaxActive() */ public double getMaxActive() { return monitor.getMaxActive(); }
@Override public double getMaxActive() { double max=MonInternals.MAX_DOUBLE; for (int i=0;i<numRows;i++) { double thisMax=monitors[i].getMaxActive(); if (thisMax>max) max=thisMax; } return max; }
/** * Gets the max active. * * @return maximal active * * @see com.jamonapi.Monitor#getMaxActive() */ @Override public double getMaxActive() { return monitor.getMaxActive(); }
b.append(getAvgActive()); b.append(", Max Active="); b.append(getMaxActive()); b.append(", First Access="); b.append(getFirstAccess());
b.append(getAvgActive()); b.append(", Max Active="); b.append(getMaxActive()); b.append(", First Access="); b.append(getFirstAccess());
return new Double(getAvgActive()); else if (MAXACTIVE.equalsIgnoreCase(key)) return new Double(getMaxActive()); else if (MonKey.LABEL_HEADER.equalsIgnoreCase(key)) return getLabel();
/** * @see patterntesting.runtime.monitor.ProfileMonitor#toCsvString() */ public String toCsvString() { return monitor.getLabel() + "; " + monitor.getUnits() + "; " + monitor.getLastValue() + "; " + (long) monitor.getHits() + "; " + monitor.getAvg() + "; " + monitor.getTotal() + "; " + monitor.getMin() + "; " + monitor.getMax() + "; " + monitor.getActive() + "; " + monitor.getAvgActive() + "; " + monitor.getMaxActive() + "; " + monitor.getFirstAccess() + "; " + monitor.getLastAccess() + ";"; }
/** * To csv string. * * @return the string * @see patterntesting.runtime.monitor.ProfileMonitor#toCsvString() */ @Override public String toCsvString() { return '"' + monitor.getLabel() + "\"; " + monitor.getUnits() + "; " + monitor.getLastValue() + "; " + (long) monitor.getHits() + "; " + monitor.getAvg() + "; " + monitor.getTotal() + "; " + monitor.getMin() + "; " + monitor.getMax() + "; " + monitor.getActive() + "; " + monitor.getAvgActive() + "; " + monitor.getMaxActive() + "; " + monitor.getFirstAccess() + "; " + monitor.getLastAccess() + ";"; }
public MonitorDelta(Monitor mon) { label = mon.getLabel(); units = mon.getUnits(); hits = mon.getHits(); total = mon.getTotal(); avg = mon.getAvg(); min = mon.getMin(); max = mon.getMax(); stdDev = mon.getStdDev(); firstAccess = mon.getFirstAccess(); lastAccess = mon.getLastAccess(); lastValue = mon.getLastValue(); active = mon.getActive(); maxActive = mon.getMaxActive(); avgActive = mon.getAvgActive(); }