@InterfaceAudience.Private @InterfaceStability.Unstable public class QueueInfoPBImpl extends QueueInfo
| Constructor and Description |
|---|
QueueInfoPBImpl() |
QueueInfoPBImpl(YarnProtos.QueueInfoProto proto) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
List<ApplicationReport> |
getApplications()
Get the running applications of the queue.
|
float |
getCapacity()
Get the configured capacity of the queue.
|
List<QueueInfo> |
getChildQueues()
Get the child queues of the queue.
|
float |
getCurrentCapacity()
Get the current capacity of the queue.
|
float |
getMaximumCapacity()
Get the maximum capacity of the queue.
|
YarnProtos.QueueInfoProto |
getProto() |
String |
getQueueName()
Get the name of the queue.
|
QueueState |
getQueueState()
Get the
QueueState of the queue. |
int |
hashCode() |
void |
setApplications(List<ApplicationReport> applications) |
void |
setCapacity(float capacity) |
void |
setChildQueues(List<QueueInfo> childQueues) |
void |
setCurrentCapacity(float currentCapacity) |
void |
setMaximumCapacity(float maximumCapacity) |
void |
setQueueName(String queueName) |
void |
setQueueState(QueueState queueState) |
String |
toString() |
newInstancepublic QueueInfoPBImpl()
public QueueInfoPBImpl(YarnProtos.QueueInfoProto proto)
public List<ApplicationReport> getApplications()
QueueInfogetApplications in class QueueInfopublic float getCapacity()
QueueInfogetCapacity in class QueueInfopublic List<QueueInfo> getChildQueues()
QueueInfogetChildQueues in class QueueInfopublic float getCurrentCapacity()
QueueInfogetCurrentCapacity in class QueueInfopublic float getMaximumCapacity()
QueueInfogetMaximumCapacity in class QueueInfopublic String getQueueName()
QueueInfogetQueueName in class QueueInfopublic QueueState getQueueState()
QueueInfoQueueState of the queue.getQueueState in class QueueInfoQueueState of the queuepublic void setApplications(List<ApplicationReport> applications)
setApplications in class QueueInfopublic void setCapacity(float capacity)
setCapacity in class QueueInfopublic void setChildQueues(List<QueueInfo> childQueues)
setChildQueues in class QueueInfopublic void setCurrentCapacity(float currentCapacity)
setCurrentCapacity in class QueueInfopublic void setMaximumCapacity(float maximumCapacity)
setMaximumCapacity in class QueueInfopublic void setQueueName(String queueName)
setQueueName in class QueueInfopublic void setQueueState(QueueState queueState)
setQueueState in class QueueInfopublic YarnProtos.QueueInfoProto getProto()
Copyright © 2013 Apache Software Foundation. All rights reserved.