| Package | Description |
|---|---|
| com.facebook.presto.common |
| Modifier and Type | Method and Description |
|---|---|
RuntimeUnit |
RuntimeMetric.getUnit() |
static RuntimeUnit |
RuntimeUnit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuntimeUnit[] |
RuntimeUnit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RuntimeStats.addMetricValue(String name,
RuntimeUnit unit,
long value) |
void |
RuntimeStats.addMetricValueIgnoreZero(String name,
RuntimeUnit unit,
long value) |
| Constructor and Description |
|---|
RuntimeMetric(String name,
RuntimeUnit unit)
Creates a new empty RuntimeMetric.
|
RuntimeMetric(String name,
RuntimeUnit unit,
long sum,
long count,
long max,
long min) |
Copyright © 2012–2022. All rights reserved.