Class GetClusterMetricsResponse
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.GetClusterMetricsResponse
The response sent by the
ResourceManager to a client
requesting cluster metrics.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract YarnClusterMetricsGet theYarnClusterMetricsfor the cluster.static GetClusterMetricsResponsenewInstance(YarnClusterMetrics metrics) abstract voidsetClusterMetrics(YarnClusterMetrics metrics)
-
Constructor Details
-
GetClusterMetricsResponse
public GetClusterMetricsResponse()
-
-
Method Details
-
newInstance
-
getClusterMetrics
Get theYarnClusterMetricsfor the cluster.- Returns:
YarnClusterMetricsfor the cluster
-
setClusterMetrics
-