org.apache.hadoop.yarn.api.records
Interface YarnClusterMetrics

All Known Implementing Classes:
YarnClusterMetricsPBImpl

@InterfaceAudience.Public
@InterfaceStability.Stable
public interface YarnClusterMetrics

YarnClusterMetrics represents cluster metrics.

Currently only number of NodeManagers is provided.


Method Summary
 int getNumNodeManagers()
          Get the number of NodeManagers in the cluster.
 void setNumNodeManagers(int numNodeManagers)
           
 

Method Detail

getNumNodeManagers

@InterfaceAudience.Public
@InterfaceStability.Stable
int getNumNodeManagers()
Get the number of NodeManagers in the cluster.

Returns:
number of NodeManagers in the cluster

setNumNodeManagers

@InterfaceAudience.Private
@InterfaceStability.Unstable
void setNumNodeManagers(int numNodeManagers)


Copyright © 2012 Apache Software Foundation. All Rights Reserved.