public class LongMinStat extends LongStat
definition, FORMAT| Constructor and Description |
|---|
LongMinStat(StatGroup group,
StatDefinition definition) |
LongMinStat(StatGroup group,
StatDefinition definition,
long counter) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Initialize the stat to the proper value at startup, or reset the
stat when copyAndClear() is called.
|
protected java.lang.String |
getFormattedValue()
Return a string with the stat value formatted as appropriate for
its type.
|
void |
setMin(long newValue)
Set stat to MIN(current stat value, newValue).
|
add, add, get, increment, isNotSet, setcopy, copyAndClear, getDefinition, toString, toStringVerbosepublic LongMinStat(StatGroup group, StatDefinition definition)
public LongMinStat(StatGroup group, StatDefinition definition, long counter)
public void clear()
Statpublic void setMin(long newValue)
protected java.lang.String getFormattedValue()
StatgetFormattedValue in class LongStatCopyright (c) 2004-2012 Oracle. All rights reserved.