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, set
copy, copyAndClear, getDefinition, toString, toStringVerbose
public LongMinStat(StatGroup group, StatDefinition definition)
public LongMinStat(StatGroup group, StatDefinition definition, long counter)
public void clear()
Stat
public void setMin(long newValue)
protected java.lang.String getFormattedValue()
Stat
getFormattedValue
in class LongStat
Copyright (c) 2004-2012 Oracle. All rights reserved.