/** * {@inheritDoc} * Reset for this implementation returns both the denominator and numerator to * zero. */ public synchronized long getAndReset() { long prevVal = getValue(); setValue(0, 0); return prevVal; } }
/** * {@inheritDoc} * Reset for this implementation returns both the denominator and numerator to * zero. */ public synchronized long getAndReset() { long prevVal = getValue(); setValue(0, 0); return prevVal; } }
/** * {@inheritDoc} * Reset for this implementation returns both the denominator and numerator to * zero. */ public synchronized long getAndReset() { long prevVal = getValue(); setValue(0, 0); return prevVal; } }