@InterfaceAudience.Public @InterfaceStability.Stable public abstract class GetClusterMetricsResponse extends Object
The response sent by the ResourceManager to a client
requesting cluster metrics.
| Constructor and Description |
|---|
GetClusterMetricsResponse() |
| Modifier and Type | Method and Description |
|---|---|
abstract YarnClusterMetrics |
getClusterMetrics()
Get the
YarnClusterMetrics for the cluster. |
static GetClusterMetricsResponse |
newInstance(YarnClusterMetrics metrics) |
abstract void |
setClusterMetrics(YarnClusterMetrics metrics) |
@InterfaceAudience.Private @InterfaceStability.Unstable public static GetClusterMetricsResponse newInstance(YarnClusterMetrics metrics)
@InterfaceAudience.Public @InterfaceStability.Stable public abstract YarnClusterMetrics getClusterMetrics()
YarnClusterMetrics for the cluster.YarnClusterMetrics for the cluster@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setClusterMetrics(YarnClusterMetrics metrics)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.