public class LSNStat extends LongStat
definition| Constructor and Description |
|---|
LSNStat(StatGroup group,
StatDefinition definition) |
LSNStat(StatGroup group,
StatDefinition definition,
long counter) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Stat<Long> other)
Add the value of "other" to this stat.
|
Stat<Long> |
computeInterval(Stat<Long> base)
Compute interval value with respect to the base value.
|
protected String |
getFormattedValue()
Returns the value of the statistic as a formatted string.
|
void |
negate()
Negate the value.
|
add, clear, get, getValueType, increment, isNotSet, max, setgetForTypecopy, copyAndAdd, copyAndClear, getDefinition, toString, toStringVerbosepublic LSNStat(StatGroup group, StatDefinition definition)
public LSNStat(StatGroup group, StatDefinition definition, long counter)
public void add(Stat<Long> other)
Statpublic Stat<Long> computeInterval(Stat<Long> base)
StatcomputeInterval in class LongStatpublic void negate()
Statprotected String getFormattedValue()
BaseStatgetFormattedValue in class LongStatCopyright © 2024. All rights reserved.