@InterfaceAudience.Private @InterfaceStability.Unstable public class GetClusterMetricsResponsePBImpl extends GetClusterMetricsResponse
Constructor and Description |
---|
GetClusterMetricsResponsePBImpl() |
GetClusterMetricsResponsePBImpl(YarnServiceProtos.GetClusterMetricsResponseProto proto) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
YarnClusterMetrics |
getClusterMetrics()
Get the
YarnClusterMetrics for the cluster. |
YarnServiceProtos.GetClusterMetricsResponseProto |
getProto() |
int |
hashCode() |
void |
setClusterMetrics(YarnClusterMetrics clusterMetrics) |
String |
toString() |
newInstance
public GetClusterMetricsResponsePBImpl()
public GetClusterMetricsResponsePBImpl(YarnServiceProtos.GetClusterMetricsResponseProto proto)
public YarnServiceProtos.GetClusterMetricsResponseProto getProto()
public YarnClusterMetrics getClusterMetrics()
GetClusterMetricsResponse
YarnClusterMetrics
for the cluster.getClusterMetrics
in class GetClusterMetricsResponse
YarnClusterMetrics
for the clusterpublic void setClusterMetrics(YarnClusterMetrics clusterMetrics)
setClusterMetrics
in class GetClusterMetricsResponse
Copyright © 2013 Apache Software Foundation. All rights reserved.