|
||||||||||
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()
Default constructor for Job Queue Info. |
|
JobQueueInfo(java.lang.String queueName,
java.lang.String schedulingInfo)
Construct a new JobQueueInfo object using the queue name and the scheduling information passed. |
Method Summary | |
---|---|
java.lang.String |
getQueueName()
Get the queue name from JobQueueInfo |
java.lang.String |
getSchedulingInfo()
Gets the scheduling information associated to particular job queue. |
void |
readFields(java.io.DataInput in)
Deserialize the fields of this object from in . |
void |
setQueueName(java.lang.String queueName)
Set the queue name of the JobQueueInfo |
void |
setSchedulingInfo(java.lang.String schedulingInfo)
Set the scheduling information associated to particular job queue |
void |
write(java.io.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(java.lang.String queueName, java.lang.String schedulingInfo)
queueName
- Name of the job queueschedulingInfo
- Scheduling Information associated with the job
queueMethod Detail |
---|
public 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 readFields(java.io.DataInput in) throws java.io.IOException
Writable
in
.
For efficiency, implementations should attempt to re-use storage in the existing object where possible.
readFields
in interface Writable
in
- DataInput
to deseriablize this object from.
java.io.IOException
public void write(java.io.DataOutput out) throws java.io.IOException
Writable
out
.
write
in interface Writable
out
- DataOuput
to serialize this object into.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |