org.apache.hadoop.yarn.api.protocolrecords
Class GetClusterMetricsResponse

java.lang.Object
  extended by org.apache.hadoop.yarn.api.protocolrecords.GetClusterMetricsResponse

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract class GetClusterMetricsResponse
extends Object

The response sent by the ResourceManager to a client requesting cluster metrics.

See Also:
YarnClusterMetrics, ApplicationClientProtocol.getClusterMetrics(GetClusterMetricsRequest)

Constructor Summary
GetClusterMetricsResponse()
           
 
Method Summary
abstract  YarnClusterMetrics getClusterMetrics()
          Get the YarnClusterMetrics for the cluster.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetClusterMetricsResponse

public GetClusterMetricsResponse()
Method Detail

getClusterMetrics

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract YarnClusterMetrics getClusterMetrics()
Get the YarnClusterMetrics for the cluster.

Returns:
YarnClusterMetrics for the cluster


Copyright © 2014 Apache Software Foundation. All Rights Reserved.