Class ClusterMetricsResource
java.lang.Object
org.apache.hadoop.hbase.master.http.api_v1.cluster_metrics.resource.ClusterMetricsResource
@Private
@Path("admin/cluster_metrics")
@Produces("application/json")
public class ClusterMetricsResource
extends Object
The root object exposing a subset of
ClusterMetrics
.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate ClusterMetrics
get
(EnumSet<ClusterMetrics.Option> fields)
-
Field Details
-
admin
-
-
Constructor Details
-
ClusterMetricsResource
-
-
Method Details
-
get
private ClusterMetrics get(EnumSet<ClusterMetrics.Option> fields) throws ExecutionException, InterruptedException -
getBaseMetrics
-
getLiveServers
@GET @Path("/live_servers") public Collection<ServerMetrics> getLiveServers() throws ExecutionException, InterruptedException -
getDeadServers
@GET @Path("/dead_servers") public List<ServerName> getDeadServers() throws ExecutionException, InterruptedException
-