@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() |
newInstance
public QueueInfoPBImpl()
public QueueInfoPBImpl(YarnProtos.QueueInfoProto proto)
public List<ApplicationReport> getApplications()
QueueInfo
getApplications
in class QueueInfo
public float getCapacity()
QueueInfo
getCapacity
in class QueueInfo
public List<QueueInfo> getChildQueues()
QueueInfo
getChildQueues
in class QueueInfo
public float getCurrentCapacity()
QueueInfo
getCurrentCapacity
in class QueueInfo
public float getMaximumCapacity()
QueueInfo
getMaximumCapacity
in class QueueInfo
public String getQueueName()
QueueInfo
getQueueName
in class QueueInfo
public QueueState getQueueState()
QueueInfo
QueueState
of the queue.getQueueState
in class QueueInfo
QueueState
of the queuepublic void setApplications(List<ApplicationReport> applications)
setApplications
in class QueueInfo
public void setCapacity(float capacity)
setCapacity
in class QueueInfo
public void setChildQueues(List<QueueInfo> childQueues)
setChildQueues
in class QueueInfo
public void setCurrentCapacity(float currentCapacity)
setCurrentCapacity
in class QueueInfo
public void setMaximumCapacity(float maximumCapacity)
setMaximumCapacity
in class QueueInfo
public void setQueueName(String queueName)
setQueueName
in class QueueInfo
public void setQueueState(QueueState queueState)
setQueueState
in class QueueInfo
public YarnProtos.QueueInfoProto getProto()
Copyright © 2013 Apache Software Foundation. All rights reserved.