public interface SampledRateCounter extends SampledCounter
Modifier and Type | Method and Description |
---|---|
void |
decrement(long numerator,
long denominator)
Decrements the numerator and denominator by the passed values
|
void |
increment(long numerator,
long denominator)
Increments the numerator and denominator by the passed values
|
void |
setDenominatorValue(long newValue)
Sets the value of the denominator to the passed value
|
void |
setNumeratorValue(long newValue)
Sets the value of the numerator to the passed value
|
void |
setValue(long numerator,
long denominator)
Sets the values of the numerator and denominator to the passed values
|
getAllSampleValues, getAndReset, getMostRecentSample, shutdown
void increment(long numerator, long denominator)
numerator
- denominator
- void decrement(long numerator, long denominator)
numerator
- denominator
- void setValue(long numerator, long denominator)
numerator
- denominator
- void setNumeratorValue(long newValue)
newValue
- void setDenominatorValue(long newValue)
newValue
- Copyright 2001-2019, Terracotta, Inc.