|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.management.sampled.SampledCounterProxy<E>
net.sf.ehcache.management.sampled.SampledRateCounterProxy<E>
E - the element typepublic class SampledRateCounterProxy<E extends Number>
The Class SampledRateCounterProxy.
| Field Summary |
|---|
| Fields inherited from class net.sf.ehcache.management.sampled.SampledCounterProxy |
|---|
rate |
| Constructor Summary | |
|---|---|
SampledRateCounterProxy(ExtendedStatistics.Statistic<E> rate)
Instantiates a new sampled rate counter proxy. |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class net.sf.ehcache.management.sampled.SampledCounterProxy |
|---|
decrement, decrement, getAllSampleValues, getAndReset, getAndSet, getMostRecentSample, getValue, increment, increment, setValue, shutdown, sortAndPresent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sf.ehcache.util.counter.sampled.SampledCounter |
|---|
getAllSampleValues, getAndReset, getMostRecentSample, shutdown |
| Methods inherited from interface net.sf.ehcache.util.counter.Counter |
|---|
decrement, decrement, getAndSet, getValue, increment, increment, setValue |
| Constructor Detail |
|---|
public SampledRateCounterProxy(ExtendedStatistics.Statistic<E> rate)
rate - the rate| Method Detail |
|---|
public void increment(long numerator,
long denominator)
SampledRateCounter
increment in interface SampledRateCounter
public void decrement(long numerator,
long denominator)
SampledRateCounter
decrement in interface SampledRateCounter
public void setValue(long numerator,
long denominator)
SampledRateCounter
setValue in interface SampledRateCounterpublic void setNumeratorValue(long newValue)
SampledRateCounter
setNumeratorValue in interface SampledRateCounterpublic void setDenominatorValue(long newValue)
SampledRateCounter
setDenominatorValue in interface SampledRateCounter
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||