|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.mapred.JobQueueInfo
public class JobQueueInfo
Class that contains the information regarding the Job Queues which are maintained by the Hadoop Map/Reduce framework.
| Constructor Summary | |
|---|---|
JobQueueInfo()
|
|
JobQueueInfo(String queueName,
String schedulingInfo)
Construct a new JobQueueInfo object using the queue name and the scheduling information passed. |
|
| Method Summary | |
|---|---|
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)
Deserialize the fields of this object from 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)
Serialize the fields of this object to out. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JobQueueInfo()
public JobQueueInfo(String queueName,
String schedulingInfo)
queueName - Name of the job queueschedulingInfo - Scheduling Information associated with the job
queue| Method Detail |
|---|
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
Writablein.
For efficiency, implementations should attempt to re-use storage in the existing object where possible.
readFields in interface Writablein - DataInput to deseriablize this object from.
IOException
public void write(DataOutput out)
throws IOException
Writableout.
write in interface Writableout - DataOuput to serialize this object into.
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||