Package | Description |
---|---|
com.yahoo.bullet.rest.common | |
com.yahoo.bullet.rest.controller |
Modifier and Type | Method and Description |
---|---|
static Metric |
Metric.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Metric[] |
Metric.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Metric.isHTTPStatusCode(Metric metric)
Returns if the given metric corresponds to a HTTP status.
|
Modifier and Type | Method and Description |
---|---|
protected void |
MetricController.incrementMetric(String prefix,
Metric metric)
Increments the
Metric with a given prefix to attach to it. |
static List<String> |
MetricController.toMetric(String prefix,
Metric... metrics)
Concatenates a String prefix to the given metrics.
|
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.