@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() |
String |
getQueueState()
Deprecated.
|
void |
setChildren(List<JobQueueInfo> children) |
void |
setJobStatuses(JobStatus[] stats) |
void |
setProperties(Properties props) |
void |
setQueueName(String queueName)
Set the queue name of the JobQueueInfo
|
void |
setQueueState(String state)
Set the state of the queue
|
void |
setSchedulingInfo(String schedulingInfo)
Set the scheduling information associated to particular job queue
|
getJobStatuses, getProperties, getQueueChildren, getQueueName, getSchedulingInfo, getState, readFields, setQueueChildren, setState, write
@InterfaceAudience.Private public void setQueueName(String queueName)
setQueueName
in class QueueInfo
queueName
- Name of the job queue.@InterfaceAudience.Private public void setSchedulingInfo(String schedulingInfo)
setSchedulingInfo
in class QueueInfo
schedulingInfo
- @InterfaceAudience.Private public void setQueueState(String state)
state
- state of the queue.@Deprecated public String getQueueState()
@InterfaceAudience.Private public void setChildren(List<JobQueueInfo> children)
public List<JobQueueInfo> getChildren()
@InterfaceAudience.Private public void setProperties(Properties props)
setProperties
in class QueueInfo
@InterfaceAudience.Private public void setJobStatuses(JobStatus[] stats)
setJobStatuses
in class QueueInfo
Copyright © 2008–2018 Apache Software Foundation. All rights reserved.