本文整理了Java中com.jamonapi.Monitor.getFirstAccess()
方法的一些代码示例,展示了Monitor.getFirstAccess()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Monitor.getFirstAccess()
方法的具体详情如下:
包路径:com.jamonapi.Monitor
类名称:Monitor
方法名:getFirstAccess
暂无
代码示例来源:origin: net.sf.patterntesting/patterntesting-rt
/**
* Gets the first access.
*
* @return first access
*
* @see com.jamonapi.Monitor#getFirstAccess()
*/
public Date getFirstAccess() {
return monitor.getFirstAccess();
}
代码示例来源:origin: org.patterntesting/patterntesting-rt
/**
* Gets the first access.
*
* @return first access
*
* @see com.jamonapi.Monitor#getFirstAccess()
*/
@Override
public Date getFirstAccess() {
return monitor.getFirstAccess();
}
代码示例来源:origin: com.jamonapi/com.springsource.com.jamonapi
public Date getFirstAccess() {
Date firstAccess=null;
for (int i=0;i<numRows;i++) {
Date thisDate=monitors[i].getFirstAccess();
if (firstAccess==null || thisDate.compareTo(firstAccess)<0) // thisDate<firstDate
firstAccess=thisDate;
}
return firstAccess;
}
代码示例来源:origin: stevensouza/jamonapi
@Override
public Date getFirstAccess() {
Date firstAccess=null;
for (int i=0;i<numRows;i++) {
Date thisDate=monitors[i].getFirstAccess();
if (firstAccess==null || thisDate.compareTo(firstAccess)<0) // thisDate<firstDate
firstAccess=thisDate;
}
return firstAccess;
}
代码示例来源:origin: stevensouza/jamonapi
b.append(getMaxActive());
b.append(", First Access=");
b.append(getFirstAccess());
b.append(", Last Access=");
b.append(getLastAccess());
代码示例来源:origin: com.jamonapi/com.springsource.com.jamonapi
b.append(getMaxActive());
b.append(", First Access=");
b.append(getFirstAccess());
b.append(", Last Access=");
b.append(getLastAccess());
代码示例来源:origin: stevensouza/jamonapi
return getLastAccess();
else if (FIRSTACCESS.equalsIgnoreCase(key))
return getFirstAccess();
else if (AVGACTIVE.equalsIgnoreCase(key))
return new Double(getAvgActive());
代码示例来源: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: 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: 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();
}
内容来源于网络,如有侵权,请联系作者删除!