org.apache.hadoop.yarn.api.protocolrecords.impl.pb
Class GetClusterMetricsResponsePBImpl
java.lang.Object
org.apache.hadoop.yarn.api.records.ProtoBase<YarnServiceProtos.GetClusterMetricsResponseProto>
org.apache.hadoop.yarn.api.protocolrecords.impl.pb.GetClusterMetricsResponsePBImpl
- All Implemented Interfaces:
- GetClusterMetricsResponse
public class GetClusterMetricsResponsePBImpl
- extends ProtoBase<YarnServiceProtos.GetClusterMetricsResponseProto>
- implements GetClusterMetricsResponse
GetClusterMetricsResponsePBImpl
public GetClusterMetricsResponsePBImpl()
GetClusterMetricsResponsePBImpl
public GetClusterMetricsResponsePBImpl(YarnServiceProtos.GetClusterMetricsResponseProto proto)
getProto
public YarnServiceProtos.GetClusterMetricsResponseProto getProto()
- Specified by:
getProto in class ProtoBase<YarnServiceProtos.GetClusterMetricsResponseProto>
getClusterMetrics
public YarnClusterMetrics getClusterMetrics()
- Description copied from interface:
GetClusterMetricsResponse
- Get the
YarnClusterMetrics for the cluster.
- Specified by:
getClusterMetrics in interface GetClusterMetricsResponse
- Returns:
YarnClusterMetrics for the cluster
setClusterMetrics
public void setClusterMetrics(YarnClusterMetrics clusterMetrics)
- Specified by:
setClusterMetrics in interface GetClusterMetricsResponse
Copyright © 2012 Apache Software Foundation. All Rights Reserved.