protected void appendFieldDescription(StringBuffer buffer) { buffer.append(" count: "); buffer.append(Long.toString(counter.get())); super.appendFieldDescription(buffer); }
public synchronized void reset() { if(isDoReset()) { this.startTime = System.currentTimeMillis(); this.lastSampleTime = this.startTime; } }
public void reset() { if (isDoReset()) { super.reset(); current = 0; lowWaterMark = 0; highWaterMark = 0; } }
public synchronized void reset() { if(isDoReset()) { super.reset(); count = 0; maxTime = 0; minTime = 0; totalTime = 0; } }
protected void appendFieldDescription(StringBuffer buffer) { buffer.append(" lowerBound: "); buffer.append(Long.toString(lowerBound)); buffer.append(" upperBound: "); buffer.append(Long.toString(upperBound)); super.appendFieldDescription(buffer); } }
public void reset() { if (isDoReset()) { super.reset(); counter.set(0); } }
public String[] getStatisticNames() { List<String> names = new ArrayList<String>(); for (StatisticImpl stat : this.set) { names.add(stat.getName()); } String[] answer = new String[names.size()]; names.toArray(answer); return answer; }
public synchronized void reset() { if(isDoReset()) { this.startTime = System.currentTimeMillis(); this.lastSampleTime = this.startTime; } }
public synchronized String toString() { StringBuffer buffer = new StringBuffer(); buffer.append(name); buffer.append("{"); appendFieldDescription(buffer); buffer.append(" }"); return buffer.toString(); }
@Override public synchronized void reset() { if (isDoReset()) { super.reset(); count = 0; maxSize = 0; minSize = 0; totalSize = 0; } }
public synchronized void reset() { if(isDoReset()) { this.startTime = System.currentTimeMillis(); this.lastSampleTime = this.startTime; } }
protected void appendFieldDescription(StringBuffer buffer) { buffer.append(" current: "); buffer.append(Long.toString(current)); buffer.append(" lowWaterMark: "); buffer.append(Long.toString(lowWaterMark)); buffer.append(" highWaterMark: "); buffer.append(Long.toString(highWaterMark)); super.appendFieldDescription(buffer); } }
@Override public synchronized void reset() { if (isDoReset()) { super.reset(); count = 0; maxSize = 0; minSize = 0; totalSize = 0; } }
public synchronized void reset() { if(isDoReset()) { this.startTime = System.currentTimeMillis(); this.lastSampleTime = this.startTime; } }
protected void appendFieldDescription(StringBuffer buffer) { buffer.append(" count: "); buffer.append(Long.toString(getCount())); super.appendFieldDescription(buffer); }
public void reset() { if (isDoReset()) { super.reset(); current = 0; lowWaterMark = 0; highWaterMark = 0; } }