public class LongMinStat extends LongStat
definition| Constructor and Description |
|---|
LongMinStat(StatGroup group,
StatDefinition definition) |
LongMinStat(StatGroup group,
StatDefinition definition,
long counter) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Resets the statistic to its initial state.
|
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.
|
void |
setMin(long newValue)
Set stat to MIN(current stat value, newValue).
|
add, add, get, getValueType, increment, isNotSet, max, setgetForTypecopy, copyAndAdd, copyAndClear, getDefinition, toString, toStringVerbosepublic LongMinStat(StatGroup group, StatDefinition definition)
public LongMinStat(StatGroup group, StatDefinition definition, long counter)
public void clear()
BaseStatpublic void setMin(long newValue)
public Stat<Long> computeInterval(Stat<Long> base)
StatcomputeInterval in class LongStatpublic void negate()
Statprotected String getFormattedValue()
BaseStatgetFormattedValue in class LongStatCopyright © 2024. All rights reserved.