|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.api.records.ProtoBase<YarnProtos.QueueInfoProto>
org.apache.hadoop.yarn.api.records.impl.pb.QueueInfoPBImpl
public class QueueInfoPBImpl
| Constructor Summary | |
|---|---|
QueueInfoPBImpl()
|
|
QueueInfoPBImpl(YarnProtos.QueueInfoProto proto)
|
|
| Method Summary | |
|---|---|
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. |
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)
|
| 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 |
|---|
public QueueInfoPBImpl()
public QueueInfoPBImpl(YarnProtos.QueueInfoProto proto)
| Method Detail |
|---|
public List<ApplicationReport> getApplications()
QueueInfo
getApplications in interface QueueInfopublic float getCapacity()
QueueInfo
getCapacity in interface QueueInfopublic List<QueueInfo> getChildQueues()
QueueInfo
getChildQueues in interface QueueInfopublic float getCurrentCapacity()
QueueInfo
getCurrentCapacity in interface QueueInfopublic float getMaximumCapacity()
QueueInfo
getMaximumCapacity in interface QueueInfopublic String getQueueName()
QueueInfo
getQueueName in interface QueueInfopublic QueueState getQueueState()
QueueInfoQueueState of the queue.
getQueueState in interface QueueInfoQueueState of the queuepublic void setApplications(List<ApplicationReport> applications)
setApplications in interface QueueInfopublic void setCapacity(float capacity)
setCapacity in interface QueueInfopublic void setChildQueues(List<QueueInfo> childQueues)
setChildQueues in interface QueueInfopublic void setCurrentCapacity(float currentCapacity)
setCurrentCapacity in interface QueueInfopublic void setMaximumCapacity(float maximumCapacity)
setMaximumCapacity in interface QueueInfopublic void setQueueName(String queueName)
setQueueName in interface QueueInfopublic void setQueueState(QueueState queueState)
setQueueState in interface QueueInfopublic YarnProtos.QueueInfoProto getProto()
getProto in class ProtoBase<YarnProtos.QueueInfoProto>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||