/** * Sets the hits. * * @param arg0 the arg0 * * @see com.jamonapi.Monitor#setHits(double) */ public void setHits(double arg0) { monitor.setHits(arg0); }
/** * Sets the hits. * * @param arg0 * the arg0 * * @see com.jamonapi.Monitor#setHits(double) */ public void setHits(final double arg0) { monitor.setHits(arg0); }
@Override public void setHits(double value) { for (int i=0;i<numRows;i++) monitors[i].setHits(value); }
public void setHits(double value) { for (int i=0;i<numRows;i++) monitors[i].setHits(value); }
@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); }