构造器和说明 |
---|
JobProfile()
Construct an empty
JobProfile . |
JobProfile(String user,
JobID jobid,
String jobFile,
String url,
String name)
Construct a
JobProfile the userid, jobid,
job config-file, job-details url and job name. |
JobProfile(String user,
JobID jobid,
String jobFile,
String url,
String name,
String queueName)
Construct a
JobProfile the userid, jobid,
job config-file, job-details url and job name. |
JobProfile(String user,
String jobid,
String jobFile,
String url,
String name)
已过时。
use JobProfile(String, JobID, String, String, String) instead
|
限定符和类型 | 方法和说明 |
---|---|
String |
getJobFile()
Get the configuration file for the job.
|
String |
getJobId()
已过时。
use getJobID() instead
|
JobID |
getJobID()
Get the job id.
|
String |
getJobName()
Get the user-specified job name.
|
String |
getQueueName()
Get the name of the queue to which the job is submitted.
|
URL |
getURL()
Get the link to the web-ui for details of the job.
|
String |
getUser()
Get the user id.
|
void |
readFields(DataInput in)
Deserialize the fields of this object from
in . |
void |
write(DataOutput out)
Serialize the fields of this object to
out . |
public JobProfile()
JobProfile
.public JobProfile(String user, JobID jobid, String jobFile, String url, 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.url
- link to the web-ui for details of the job.name
- user-specified job name.public JobProfile(String user, JobID jobid, String jobFile, String url, String name, String queueName)
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.url
- link to the web-ui for details of the job.name
- user-specified job name.queueName
- name of the queue to which the job is submittedpublic String getUser()
public JobID getJobID()
@Deprecated public String getJobId()
public String getJobFile()
public URL getURL()
public String getJobName()
public String getQueueName()
public void write(DataOutput out) throws IOException
Writable
out
.write
在接口中 Writable
out
- DataOuput
to serialize this object into.IOException
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
在接口中 Writable
in
- DataInput
to deseriablize this object from.IOException
Copyright © 2009 The Apache Software Foundation