本文整理了Java中com.jamonapi.Monitor.setHits()
方法的一些代码示例,展示了Monitor.setHits()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Monitor.setHits()
方法的具体详情如下:
包路径:com.jamonapi.Monitor
类名称:Monitor
方法名:setHits
暂无
代码示例来源:origin: net.sf.patterntesting/patterntesting-rt
/**
* Sets the hits.
*
* @param arg0 the arg0
*
* @see com.jamonapi.Monitor#setHits(double)
*/
public void setHits(double arg0) {
monitor.setHits(arg0);
}
代码示例来源:origin: org.patterntesting/patterntesting-rt
/**
* Sets the hits.
*
* @param arg0
* the arg0
*
* @see com.jamonapi.Monitor#setHits(double)
*/
public void setHits(final double arg0) {
monitor.setHits(arg0);
}
代码示例来源:origin: stevensouza/jamonapi
@Override
public void setHits(double value) {
for (int i=0;i<numRows;i++)
monitors[i].setHits(value);
}
代码示例来源:origin: com.jamonapi/com.springsource.com.jamonapi
public void setHits(double value) {
for (int i=0;i<numRows;i++)
monitors[i].setHits(value);
}
代码示例来源:origin: SmartDataAnalytics/DL-Learner
@SuppressWarnings("all")
public static void increaseCount (Class clazz, String label) {
// MonitorFactory.getMonitor(getMonitorPrefix(clazz)+label, "#").add(1.0);
Monitor m = MonitorFactory.getMonitor(getMonitorPrefix(clazz)+label, "count");
// System.out.println(m);
m.setHits(m.getHits()+1);
//System.out.println(m);
}
内容来源于网络,如有侵权,请联系作者删除!