public class NoClearAtomicLongStat extends AtomicLongStat
AtomicLongStat that does not reset its value when
cleared.definition| Constructor and Description |
|---|
NoClearAtomicLongStat(StatGroup group,
StatDefinition definition) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Never clear this stat.
|
AtomicLongStat |
copy()
Returns a copy of this statistic.
|
AtomicLongStat |
copyAndClear()
Never clear this stat.
|
add, add, computeInterval, decrement, get, getFormattedValue, getValueType, increment, isNotSet, negate, setgetForTypecopyAndAdd, getDefinition, toString, toStringVerbosepublic NoClearAtomicLongStat(StatGroup group, StatDefinition definition)
public void clear()
clear in class AtomicLongStatpublic AtomicLongStat copy()
BaseStatcopy in class AtomicLongStatpublic AtomicLongStat copyAndClear()
copyAndClear in class AtomicLongStatCopyright © 2024. All rights reserved.