public class JobQueueInfo
extends java.lang.Object
implements org.apache.hadoop.io.Writable
Constructor and Description |
---|
JobQueueInfo() |
JobQueueInfo(java.lang.String queueName,
java.lang.String schedulingInfo)
Construct a new JobQueueInfo object using the queue name and the
scheduling information passed.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getQueueName()
Get the queue name from JobQueueInfo
|
java.lang.String |
getQueueState()
Return the queue state
|
java.lang.String |
getSchedulingInfo()
Gets the scheduling information associated to particular job queue.
|
void |
readFields(java.io.DataInput in) |
void |
setQueueName(java.lang.String queueName)
Set the queue name of the JobQueueInfo
|
void |
setQueueState(java.lang.String state)
Set the state of the queue
|
void |
setSchedulingInfo(java.lang.String schedulingInfo)
Set the scheduling information associated to particular job queue
|
void |
write(java.io.DataOutput out) |
public JobQueueInfo()
public JobQueueInfo(java.lang.String queueName, java.lang.String schedulingInfo)
queueName
- Name of the job queueschedulingInfo
- Scheduling Information associated with the job
queuepublic void setQueueName(java.lang.String queueName)
queueName
- Name of the job queue.public java.lang.String getQueueName()
public void setSchedulingInfo(java.lang.String schedulingInfo)
schedulingInfo
- public java.lang.String getSchedulingInfo()
public void setQueueState(java.lang.String state)
state
- state of the queue.public java.lang.String getQueueState()
public void readFields(java.io.DataInput in) throws java.io.IOException
readFields
in interface org.apache.hadoop.io.Writable
java.io.IOException
public void write(java.io.DataOutput out) throws java.io.IOException
write
in interface org.apache.hadoop.io.Writable
java.io.IOException
Copyright © 2009 The Apache Software Foundation