public static enum ClusterMetrics.Option extends Enum<ClusterMetrics.Option>
Enum Constant and Description |
---|
BACKUP_MASTERS
metrics about backup masters name
|
BALANCER_ON
metrics about balancer is on or not
|
CLUSTER_ID
metrics about cluster id
|
DEAD_SERVERS
metrics about dead region servers
|
HBASE_VERSION
metrics about hbase version
|
LIVE_SERVERS
metrics about live region servers
|
MASTER
metrics about master name
|
MASTER_COPROCESSORS
metrics about master coprocessors
|
MASTER_INFO_PORT
metrics info port
|
REGIONS_IN_TRANSITION
metrics about regions in transition
|
Modifier and Type | Method and Description |
---|---|
static ClusterMetrics.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterMetrics.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterMetrics.Option HBASE_VERSION
public static final ClusterMetrics.Option CLUSTER_ID
public static final ClusterMetrics.Option BALANCER_ON
public static final ClusterMetrics.Option LIVE_SERVERS
public static final ClusterMetrics.Option DEAD_SERVERS
public static final ClusterMetrics.Option MASTER
public static final ClusterMetrics.Option BACKUP_MASTERS
public static final ClusterMetrics.Option MASTER_COPROCESSORS
public static final ClusterMetrics.Option REGIONS_IN_TRANSITION
public static final ClusterMetrics.Option MASTER_INFO_PORT
public static ClusterMetrics.Option[] values()
for (ClusterMetrics.Option c : ClusterMetrics.Option.values()) System.out.println(c);
public static ClusterMetrics.Option 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 nullCopyright © 2007–2019 Cloudera. All rights reserved.