public enum MonitoringMetrics extends Enum<MonitoringMetrics>
| Enum Constant and Description |
|---|
APP_AVAILABLE |
AVERAGE_RESPONSE_TIME |
AVERAGE_THROUGHPUT |
| Modifier and Type | Method and Description |
|---|---|
static MonitoringMetrics |
from(String metricName) |
String |
getMetricName() |
String |
getUnit() |
static MonitoringMetrics |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MonitoringMetrics[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MonitoringMetrics APP_AVAILABLE
public static final MonitoringMetrics AVERAGE_RESPONSE_TIME
public static final MonitoringMetrics AVERAGE_THROUGHPUT
public static MonitoringMetrics[] values()
for (MonitoringMetrics c : MonitoringMetrics.values()) System.out.println(c);
public static MonitoringMetrics valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getMetricName()
public String getUnit()
public static MonitoringMetrics from(String metricName)
Copyright © 2016. All rights reserved.