@InterfaceAudience.Private @InterfaceStability.Unstable public class YarnClusterMetricsPBImpl extends YarnClusterMetrics
Constructor and Description |
---|
YarnClusterMetricsPBImpl() |
YarnClusterMetricsPBImpl(YarnProtos.YarnClusterMetricsProto proto) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
getNumNodeManagers()
Get the number of
NodeManager s in the cluster. |
YarnProtos.YarnClusterMetricsProto |
getProto() |
int |
hashCode() |
void |
setNumNodeManagers(int numNodeManagers) |
String |
toString() |
newInstance
public YarnClusterMetricsPBImpl()
public YarnClusterMetricsPBImpl(YarnProtos.YarnClusterMetricsProto proto)
public YarnProtos.YarnClusterMetricsProto getProto()
public int getNumNodeManagers()
YarnClusterMetrics
NodeManager
s in the cluster.getNumNodeManagers
in class YarnClusterMetrics
NodeManager
s in the clusterpublic void setNumNodeManagers(int numNodeManagers)
setNumNodeManagers
in class YarnClusterMetrics
Copyright © 2013 Apache Software Foundation. All rights reserved.