org.apache.hadoop.yarn.api.protocolrecords.impl.pb
Class GetQueueInfoResponsePBImpl

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.ProtoBase<YarnServiceProtos.GetQueueInfoResponseProto>
      extended by org.apache.hadoop.yarn.api.protocolrecords.impl.pb.GetQueueInfoResponsePBImpl
All Implemented Interfaces:
GetQueueInfoResponse

public class GetQueueInfoResponsePBImpl
extends ProtoBase<YarnServiceProtos.GetQueueInfoResponseProto>
implements GetQueueInfoResponse


Constructor Summary
GetQueueInfoResponsePBImpl()
           
GetQueueInfoResponsePBImpl(YarnServiceProtos.GetQueueInfoResponseProto proto)
           
 
Method Summary
 YarnServiceProtos.GetQueueInfoResponseProto getProto()
           
 QueueInfo getQueueInfo()
          Get the QueueInfo for the specified queue.
 void setQueueInfo(QueueInfo queueInfo)
           
 
Methods inherited from class org.apache.hadoop.yarn.api.records.ProtoBase
convertFromProtoFormat, convertToProtoFormat, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetQueueInfoResponsePBImpl

public GetQueueInfoResponsePBImpl()

GetQueueInfoResponsePBImpl

public GetQueueInfoResponsePBImpl(YarnServiceProtos.GetQueueInfoResponseProto proto)
Method Detail

getProto

public YarnServiceProtos.GetQueueInfoResponseProto getProto()
Specified by:
getProto in class ProtoBase<YarnServiceProtos.GetQueueInfoResponseProto>

getQueueInfo

public QueueInfo getQueueInfo()
Description copied from interface: GetQueueInfoResponse
Get the QueueInfo for the specified queue.

Specified by:
getQueueInfo in interface GetQueueInfoResponse
Returns:
QueueInfo for the specified queue

setQueueInfo

public void setQueueInfo(QueueInfo queueInfo)
Specified by:
setQueueInfo in interface GetQueueInfoResponse


Copyright © 2012 Apache Software Foundation. All Rights Reserved.