@InterfaceAudience.Public @InterfaceStability.Stable public class JobQueueInfo extends QueueInfo
| Constructor and Description |
|---|
JobQueueInfo()
Default constructor for Job Queue Info.
|
JobQueueInfo(String queueName,
String schedulingInfo)
Construct a new JobQueueInfo object using the queue name and the
scheduling information passed.
|
| Modifier and Type | Method and Description |
|---|---|
List<JobQueueInfo> |
getChildren() |
protected void |
setChildren(List<JobQueueInfo> children) |
protected void |
setJobStatuses(JobStatus[] stats) |
protected void |
setProperties(Properties props) |
protected void |
setQueueName(String queueName)
Set the queue name of the JobQueueInfo
|
protected void |
setQueueState(String state)
Set the state of the queue
|
protected void |
setSchedulingInfo(String schedulingInfo)
Set the scheduling information associated to particular job queue
|
getJobStatuses, getProperties, getQueueChildren, getQueueName, getSchedulingInfo, getState, readFields, setQueueChildren, setState, writeprotected void setQueueName(String queueName)
setQueueName in class QueueInfoqueueName - Name of the job queue.protected void setSchedulingInfo(String schedulingInfo)
setSchedulingInfo in class QueueInfoschedulingInfo - protected void setQueueState(String state)
state - state of the queue.protected void setChildren(List<JobQueueInfo> children)
public List<JobQueueInfo> getChildren()
protected void setProperties(Properties props)
setProperties in class QueueInfoprotected void setJobStatuses(JobStatus[] stats)
setJobStatuses in class QueueInfoCopyright © 2013 Apache Software Foundation. All Rights Reserved.