|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SampledCounter
Interface of a sampled counter -- a counter that keeps sampled values
Method Summary | |
---|---|
TimeStampedCounterValue[] |
getAllSampleValues()
Returns all samples in history |
long |
getAndReset()
Returns the current value of the counter and resets it to 0 |
TimeStampedCounterValue |
getMostRecentSample()
Returns the most recent sampled value |
void |
shutdown()
Shutdown this counter |
Methods inherited from interface net.sf.ehcache.util.counter.Counter |
---|
decrement, decrement, getAndSet, getValue, increment, increment, setValue |
Method Detail |
---|
void shutdown()
TimeStampedCounterValue getMostRecentSample()
TimeStampedCounterValue[] getAllSampleValues()
long getAndReset()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |