DiscreteValueRecorder
Package: com.hypixel.hytale.common.benchmark
public class DiscreteValueRecorderClass in the benchmark subsystem.
Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
DEFAULT_COLUMN_SEPARATOR | String | Static final String field. |
DEFAULT_COLUMN_FORMAT_HEADER | String | Static final String field. |
DEFAULT_COLUMN_FORMAT_VALUE | String | Static final String field. |
DEFAULT_COLUMNS | String[] | Static final String[] field. |
minValue | long | long field. |
maxValue | long | long field. |
sumValues | long | long field. |
count | long | long field. |
Constructors
Section titled “Constructors”| Constructor | Description |
|---|---|
DiscreteValueRecorder() | Creates a new DiscreteValueRecorder instance. |
Methods
Section titled “Methods”| Method | Return Type | Description |
|---|---|---|
reset() | void | public method. |
getMinValue(long def) | long | public method. |
getMinValue() | long | public method. |
getMaxValue(long def) | long | public method. |
getMaxValue() | long | public method. |
getCount() | long | public method. |
getAverage(long def) | long | public method. |
getAverage() | long | public method. |
record(long value) | void | public method. |
toString() | String | public method. |
formatHeader(@Nonnull Formatter formatter) | void | public method. |
formatHeader(@Nonnull Formatter formatter, @Nonnull String columnFormatHeader) | void | public method. |
formatValues(@Nonnull Formatter formatter) | void | public method. |
formatValues(@Nonnull Formatter formatter, @Nonnull String columnFormatValue) | void | public method. |
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.