|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quartz.utils.counter.CounterConfig
org.quartz.utils.counter.sampled.SampledCounterConfig
org.quartz.utils.counter.sampled.SampledRateCounterConfig
public class SampledRateCounterConfig
An implementation of SampledCounterConfig
| Constructor Summary | |
|---|---|
SampledRateCounterConfig(int intervalSecs,
int historySize,
boolean isResetOnSample)
Constructor accepting the interval time in seconds, history-size and whether counters should reset on each sample or not. |
|
SampledRateCounterConfig(int intervalSecs,
int historySize,
boolean isResetOnSample,
long initialNumeratorValue,
long initialDenominatorValue)
Constructor accepting the interval time in seconds, history-size and whether counters should reset on each sample or not. |
|
| Method Summary | |
|---|---|
Counter |
createCounter()
Creates and returns a Counter based on the initial value |
| Methods inherited from class org.quartz.utils.counter.sampled.SampledCounterConfig |
|---|
getHistorySize, getIntervalSecs, isResetOnSample |
| Methods inherited from class org.quartz.utils.counter.CounterConfig |
|---|
getInitialValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SampledRateCounterConfig(int intervalSecs,
int historySize,
boolean isResetOnSample)
intervalSecs - historySize - isResetOnSample -
public SampledRateCounterConfig(int intervalSecs,
int historySize,
boolean isResetOnSample,
long initialNumeratorValue,
long initialDenominatorValue)
intervalSecs - historySize - isResetOnSample - initialNumeratorValue - initialDenominatorValue - | Method Detail |
|---|
public Counter createCounter()
createCounter in class SampledCounterConfig
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||