@Override public int getNumDecommissionedNodeManagers() { YarnClusterMetricsProtoOrBuilder p = viaProto ? proto : builder; if (p.hasNumDecommissionedNms()) { return (p.getNumDecommissionedNms()); } return 0; }
@Override public int getNumActiveNodeManagers() { YarnClusterMetricsProtoOrBuilder p = viaProto ? proto : builder; if (p.hasNumActiveNms()) { return (p.getNumActiveNms()); } return 0; }
@Override public int getNumLostNodeManagers() { YarnClusterMetricsProtoOrBuilder p = viaProto ? proto : builder; if (p.hasNumLostNms()) { return (p.getNumLostNms()); } return 0; }
@Override public int getNumUnhealthyNodeManagers() { YarnClusterMetricsProtoOrBuilder p = viaProto ? proto : builder; if (p.hasNumUnhealthyNms()) { return (p.getNumUnhealthyNms()); } return 0; }
@Override public int getNumRebootedNodeManagers() { YarnClusterMetricsProtoOrBuilder p = viaProto ? proto : builder; if (p.hasNumRebootedNms()) { return (p.getNumRebootedNms()); } return 0; }
@Override public int getNumNodeManagers() { YarnClusterMetricsProtoOrBuilder p = viaProto ? proto : builder; return (p.getNumNodeManagers()); }