com.jamonapi.Monitor.getMax()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(4.7k)|赞(0)|评价(0)|浏览(154)

本文整理了Java中com.jamonapi.Monitor.getMax()方法的一些代码示例,展示了Monitor.getMax()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Monitor.getMax()方法的具体详情如下:
包路径:com.jamonapi.Monitor
类名称:Monitor
方法名:getMax

Monitor.getMax介绍

暂无

代码示例

代码示例来源:origin: stevensouza/jamonapi

@Override
public double getMax() {
  double max=MonInternals.MAX_DOUBLE;
  for (int i=0;i<numRows;i++) {
    double thisMax=monitors[i].getMax();
    if (thisMax>max)
      max=thisMax;
  }
  return max;
}

代码示例来源:origin: stevensouza/jamonapi

b.append(getMin());
b.append(", Max=");
b.append(getMax());
b.append(", Active=");
b.append(getActive());

代码示例来源:origin: com.jamonapi/com.springsource.com.jamonapi

b.append(getMin());
b.append(", Max=");
b.append(getMax());
b.append(", Active=");
b.append(getActive());

代码示例来源:origin: org.patterntesting/patterntesting-rt

/**
 * Gets the max.
 *
 * @return maximum
 *
 * @see com.jamonapi.Monitor#getMax()
 */
@Override
public double getMax() {
  return monitor.getMax();
}

代码示例来源:origin: stevensouza/jamonapi

return new Double(getMin());
else if (MAX.equalsIgnoreCase(key))
  return new Double(getMax());
else if (TOTAL.equalsIgnoreCase(key))
  return new Double(getTotal());

代码示例来源:origin: net.sf.patterntesting/patterntesting-rt

/**
 * Gets the max.
 *
 * @return maximum
 *
 * @see com.jamonapi.Monitor#getMax()
 */
public double getMax() {
  return monitor.getMax();
}

代码示例来源:origin: net.sf.patterntesting/patterntesting-rt

/**
 * @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() + ";";
}

代码示例来源:origin: com.jamonapi/com.springsource.com.jamonapi

public double getMax() {
 double max=MonInternals.MAX_DOUBLE;
  for (int i=0;i<numRows;i++) {
  double thisMax=monitors[i].getMax();
    if (thisMax>max)
   max=thisMax;
 }
 return max;
}

代码示例来源:origin: org.patterntesting/patterntesting-rt

/**
 * 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() + ";";
}

代码示例来源:origin: com.google.code.maven-play-plugin.org.playframework/play

if (monitor.getHits() > 0) {
  out.println(String.format("%-" + lm + "s -> %8.0f hits; %8.1f avg; %8.1f min; %8.1f max;", monitor.getLabel(),
      monitor.getHits(), monitor.getAvg(), monitor.getMin(), monitor.getMax()));

代码示例来源:origin: stevensouza/jamonapi

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();
}

代码示例来源:origin: org.patterntesting/patterntesting-rt

/**
 * To short string.
 *
 * @return the string
 * @see patterntesting.runtime.monitor.ProfileMonitor#toShortString()
 */
@Override
public String toShortString() {
  return "Hits=" + (long) monitor.getHits() + ", Avg=" + monitor.getAvg() + ", Total=" + monitor.getTotal()
      + ", Max=" + monitor.getMax() + ", Unit=" + monitor.getUnits();
}

代码示例来源:origin: net.sf.patterntesting/patterntesting-rt

/**
 * @see patterntesting.runtime.monitor.ProfileMonitor#toShortString()
 */
public String toShortString() {
  return "Hits=" + (long) monitor.getHits() + ", Avg=" + monitor.getAvg()
    + ", Total=" + monitor.getTotal() + ", Max=" + monitor.getMax()
    + ", Unit=" + monitor.getUnits();
}

代码示例来源:origin: SmartDataAnalytics/DL-Learner

sb.append(separator).append(mon.getMax());
  sb.append(separator).append(mon.getAvg());
} catch (Exception e) {

代码示例来源:origin: SmartDataAnalytics/DL-Learner

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();
  
  
}

相关文章