public class JobQueueInfo extends Object implements org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
JobQueueInfo() |
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 |
|---|---|
String |
getQueueName()
Get the queue name from JobQueueInfo
|
String |
getQueueState()
Return the queue state
|
String |
getSchedulingInfo()
Gets the scheduling information associated to particular job queue.
|
void |
readFields(DataInput in) |
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
|
void |
write(DataOutput out) |
public void setQueueName(String queueName)
queueName - Name of the job queue.public String getQueueName()
public void setSchedulingInfo(String schedulingInfo)
schedulingInfo - public String getSchedulingInfo()
public void setQueueState(String state)
state - state of the queue.public String getQueueState()
public void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2009 The Apache Software Foundation