public class DiscreteValueRecorder
Class DiscreteValueRecorder. Provides discretevaluerecorder functionality for the Hytale server.
java.lang.Object > DiscreteValueRecorder
Field Summary
minValue
protected
long
minValue
Field minValue.
maxValue
protected
long
maxValue
Field maxValue.
sumValues
protected
long
sumValues
Field sumValues.
count
protected
long
count
Field count.
Method Detail
DiscreteValueRecorder
public
public
DiscreteValueRecorder
()
Method DiscreteValueRecorder.
reset
public
void
reset
()
Method reset.
getMinValue
public
long
getMinValue
(final long def)
Method getMinValue.
- Parameters:
final longdef
getMaxValue
public
long
getMaxValue
(final long def)
Method getMaxValue.
- Parameters:
final longdef
getCount
public
long
getCount
()
Method getCount.
getAverage
public
long
getAverage
(final long def)
Method getAverage.
- Parameters:
final longdef
toString
public
String
toString
()
Method toString.
formatHeader
public
void
formatHeader
(@Nonnull final Formatter formatter)
Method formatHeader.
- Parameters:
@Nonnull final Formatterformatter
formatValues
public
void
formatValues
(@Nonnull final Formatter formatter)
Method formatValues.
- Parameters:
@Nonnull final Formatterformatter