DiscreteValueRecorder

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 long def

getMaxValue

public long getMaxValue (final long def)

Method getMaxValue.

Parameters:
final long def

getCount

public long getCount ()

Method getCount.

getAverage

public long getAverage (final long def)

Method getAverage.

Parameters:
final long def

toString

public String toString ()

Method toString.

formatHeader

public void formatHeader (@Nonnull final Formatter formatter)

Method formatHeader.

Parameters:
@Nonnull final Formatter formatter

formatValues

public void formatValues (@Nonnull final Formatter formatter)

Method formatValues.

Parameters:
@Nonnull final Formatter formatter