@InterfaceAudience.Private @Path(value="admin/cluster_metrics") @Produces(value="application/json") public class ClusterMetricsResource extends Object
ClusterMetrics.| Constructor and Description |
|---|
ClusterMetricsResource(MasterServices master) |
| Modifier and Type | Method and Description |
|---|---|
ClusterMetrics |
getBaseMetrics() |
List<ServerName> |
getDeadServers() |
Collection<ServerMetrics> |
getLiveServers() |
@Inject public ClusterMetricsResource(MasterServices master) throws IOException
IOException@GET public ClusterMetrics getBaseMetrics() throws IOException
IOException@GET @Path(value="/live_servers") public Collection<ServerMetrics> getLiveServers() throws IOException
IOException@GET @Path(value="/dead_servers") public List<ServerName> getDeadServers() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.