@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, write
public JobQueueInfo()
public JobQueueInfo(String queueName, String schedulingInfo)
queueName
- Name of the job queueschedulingInfo
- Scheduling Information associated with the job
queueprotected void setQueueName(String queueName)
setQueueName
in class QueueInfo
queueName
- Name of the job queue.protected void setSchedulingInfo(String schedulingInfo)
setSchedulingInfo
in class QueueInfo
schedulingInfo
- 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 QueueInfo
protected void setJobStatuses(JobStatus[] stats)
setJobStatuses
in class QueueInfo
Copyright © 2014 Apache Software Foundation. All Rights Reserved.