public final class AtomicLongMapStat extends MapStat<Long,AtomicLongComponent>
definition| Constructor and Description |
|---|
AtomicLongMapStat(StatGroup group,
StatDefinition definition)
Creates an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
AtomicLongMapStat |
computeInterval(Stat<String> base)
The base argument must be an instance of AtomicLongMapStat.
|
AtomicLongMapStat |
copy()
Returns a copy of this statistic.
|
AtomicLongComponent |
createStat(String key)
Creates, stores, and returns a new stat for the specified key.
|
void |
negate()
Negate the value.
|
add, clear, copyAndClear, get, getFormattedValue, getMap, isNotSet, removeStat, setcopyAndAdd, getDefinition, toString, toStringVerbosepublic AtomicLongMapStat(StatGroup group, StatDefinition definition)
group - the owning groupdefinition - the associated definitionpublic AtomicLongComponent createStat(String key)
key - the keypublic AtomicLongMapStat copy()
BaseStatpublic AtomicLongMapStat computeInterval(Stat<String> base)
computeInterval in class Stat<String>Copyright © 2024. All rights reserved.