| 
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SampledRateCounter
Interface of a sampled rate counter -- a counter that keeps sampled values of rates
| 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 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 | 
| Method Detail | 
|---|
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 - 
  | 
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||