| java.lang.Object com.tc.stats.counter.sampled.SampledCounterConfig
SampledCounterConfig | public class SampledCounterConfig (Code) | | Configuration for any given timed counter
|
Constructor Summary | |
public | SampledCounterConfig(int intervalSecs, int historySize, boolean isResetOnSample, long initialValue) |
SampledCounterConfig | public SampledCounterConfig(int intervalSecs, int historySize, boolean isResetOnSample, long initialValue)(Code) | | Make a new timed counter config (duh)
Parameters: intervalSecs - the interval (in seconds) between sampling Parameters: historySize - number of counter samples that will be retained in memory Parameters: isResetOnSample - true if the counter should be reset to 0 upon each sample |
getHistorySize | public int getHistorySize()(Code) | | |
getInitialValue | public long getInitialValue()(Code) | | |
getIntervalSecs | public int getIntervalSecs()(Code) | | |
isResetOnSample | public boolean isResetOnSample()(Code) | | |
|
|