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

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.ProtoBase<YarnServiceProtos.GetQueueInfoRequestProto>
      extended by org.apache.hadoop.yarn.api.protocolrecords.impl.pb.GetQueueInfoRequestPBImpl
All Implemented Interfaces:
GetQueueInfoRequest

public class GetQueueInfoRequestPBImpl
extends ProtoBase<YarnServiceProtos.GetQueueInfoRequestProto>
implements GetQueueInfoRequest


Constructor Summary
GetQueueInfoRequestPBImpl()
           
GetQueueInfoRequestPBImpl(YarnServiceProtos.GetQueueInfoRequestProto proto)
           
 
Method Summary
 boolean getIncludeApplications()
          Is information about active applications required?
 boolean getIncludeChildQueues()
          Is information about child queues required?
 YarnServiceProtos.GetQueueInfoRequestProto getProto()
           
 String getQueueName()
          Get the queue name for which to get queue information.
 boolean getRecursive()
          Is information on the entire child queue hierarchy required?
 void setIncludeApplications(boolean includeApplications)
          Should we get fetch information about active applications?
 void setIncludeChildQueues(boolean includeChildQueues)
          Should we fetch information about child queues?
 void setQueueName(String queueName)
          Set the queue name for which to get queue information
 void setRecursive(boolean recursive)
          Should we fetch information on the entire child queue hierarchy?
 
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

GetQueueInfoRequestPBImpl

public GetQueueInfoRequestPBImpl()

GetQueueInfoRequestPBImpl

public GetQueueInfoRequestPBImpl(YarnServiceProtos.GetQueueInfoRequestProto proto)
Method Detail

getIncludeApplications

public boolean getIncludeApplications()
Description copied from interface: GetQueueInfoRequest
Is information about active applications required?

Specified by:
getIncludeApplications in interface GetQueueInfoRequest
Returns:
true if applications' information is to be included, else false

getIncludeChildQueues

public boolean getIncludeChildQueues()
Description copied from interface: GetQueueInfoRequest
Is information about child queues required?

Specified by:
getIncludeChildQueues in interface GetQueueInfoRequest
Returns:
true if information about child queues is required, else false

getQueueName

public String getQueueName()
Description copied from interface: GetQueueInfoRequest
Get the queue name for which to get queue information.

Specified by:
getQueueName in interface GetQueueInfoRequest
Returns:
queue name for which to get queue information

getRecursive

public boolean getRecursive()
Description copied from interface: GetQueueInfoRequest
Is information on the entire child queue hierarchy required?

Specified by:
getRecursive in interface GetQueueInfoRequest
Returns:
true if information about entire hierarchy is required, false otherwise

setIncludeApplications

public void setIncludeApplications(boolean includeApplications)
Description copied from interface: GetQueueInfoRequest
Should we get fetch information about active applications?

Specified by:
setIncludeApplications in interface GetQueueInfoRequest
Parameters:
includeApplications - fetch information about active applications?

setIncludeChildQueues

public void setIncludeChildQueues(boolean includeChildQueues)
Description copied from interface: GetQueueInfoRequest
Should we fetch information about child queues?

Specified by:
setIncludeChildQueues in interface GetQueueInfoRequest
Parameters:
includeChildQueues - fetch information about child queues?

setQueueName

public void setQueueName(String queueName)
Description copied from interface: GetQueueInfoRequest
Set the queue name for which to get queue information

Specified by:
setQueueName in interface GetQueueInfoRequest
Parameters:
queueName - queue name for which to get queue information

setRecursive

public void setRecursive(boolean recursive)
Description copied from interface: GetQueueInfoRequest
Should we fetch information on the entire child queue hierarchy?

Specified by:
setRecursive in interface GetQueueInfoRequest
Parameters:
recursive - fetch information on the entire child queue hierarchy?

getProto

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


Copyright © 2012 Apache Software Foundation. All Rights Reserved.