|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hama.bsp.JobProfile
public class JobProfile
A JobProfile tracks job's status.
Constructor Summary | |
---|---|
JobProfile()
Construct an empty JobProfile . |
|
JobProfile(java.lang.String user,
BSPJobID jobid,
java.lang.String jobFile,
java.lang.String name)
Construct a JobProfile the userid, jobid, job config-file,
job-details url and job name. |
Method Summary | |
---|---|
java.lang.String |
getJobFile()
Get the configuration file for the job. |
BSPJobID |
getJobID()
Get the job id. |
java.lang.String |
getJobName()
Get the user-specified job name. |
java.lang.String |
getUser()
Get the user id. |
void |
readFields(java.io.DataInput in)
|
void |
write(java.io.DataOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JobProfile()
JobProfile
.
public JobProfile(java.lang.String user, BSPJobID jobid, java.lang.String jobFile, java.lang.String name)
JobProfile
the userid, jobid, job config-file,
job-details url and job name.
user
- userid of the person who submitted the job.jobid
- id of the job.jobFile
- job configuration file.name
- user-specified job name.Method Detail |
---|
public java.lang.String getUser()
public BSPJobID getJobID()
public java.lang.String getJobFile()
public java.lang.String getJobName()
public void write(java.io.DataOutput out) throws java.io.IOException
write
in interface org.apache.hadoop.io.Writable
java.io.IOException
public void readFields(java.io.DataInput in) throws java.io.IOException
readFields
in interface org.apache.hadoop.io.Writable
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |