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 |
---|---|
String |
getQueueName()
Get the queue name from JobQueueInfo
|
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 |
setSchedulingInfo(String schedulingInfo)
Set the scheduling information associated to particular job queue
|
void |
write(DataOutput out)
Serialize the fields of this object to
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 readFields(DataInput in) throws 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.IOException
public void write(DataOutput out) throws IOException
Writable
out
.write
in interface Writable
out
- DataOuput
to serialize this object into.IOException
Copyright © 2010 The Apache Software Foundation