|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.parabon.rapids.Job
public class Job
Native Job Environment Job class.
| Constructor Summary | |
|---|---|
Job(int _jobId)
Construct a Rapids job from a JobId represented as an int. |
|
Job(java.lang.String _jobId)
Construct a Rapids job from a JobId represented as a String. |
|
| Method Summary | |
|---|---|
boolean |
completed()
Tests whether this job has completed. |
static java.lang.String |
create(java.lang.String templateName,
int nTasks,
java.lang.String resultSetName,
boolean keepRunning)
Creates a new Job from a simple Rapids Template. |
static java.lang.String |
create(java.lang.String templateName,
java.lang.String dataSetName,
java.lang.String resultSetName,
boolean keepRunning)
Creates a new Job from a complex Rapids Template. |
void |
delete()
Deletes the job. |
boolean |
exists()
Tests whether this job exists. |
java.lang.String |
getCmdLine()
Returns the command line used to define this job. |
java.lang.String |
getId()
Returns the JobID for this job. |
java.lang.String |
getLogFile()
Returns the path to the log file for this job. |
java.lang.String |
getLogFile(java.lang.String taskId)
Returns the path to the log file for the specified task in this job. |
TaskStatus[] |
getTaskStatus()
Returns the current TaskStatuses for this job. |
boolean |
kill()
Terminates the job. |
boolean |
killTask(java.lang.String taskId)
Terminates the specified task in the job. |
void |
launch()
Launch this job. |
boolean |
launched()
Tests whether this job has been launched. |
void |
listen()
Start a listener for this job. |
boolean |
listenerRunning()
Tests whether a listener is running for this job. |
static void |
main(java.lang.String[] args)
|
boolean |
stop()
Terminates the listener for the job. |
int |
update()
Adds tasks to a job created from a complex Rapids Template. |
int |
update(int nTasks)
Adds tasks to a job created from a simple Rapids Template. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Job(java.lang.String _jobId)
public Job(int _jobId)
| Method Detail |
|---|
public java.lang.String getId()
public java.lang.String getCmdLine()
throws com.parabon.rapids.JobNotFoundException
com.parabon.rapids.JobNotFoundException
public TaskStatus[] getTaskStatus()
throws com.parabon.rapids.JobNotFoundException
com.parabon.rapids.JobNotFoundExceptionpublic boolean exists()
public boolean completed()
throws com.parabon.rapids.JobNotFoundException
com.parabon.rapids.JobNotFoundException
public boolean launched()
throws com.parabon.rapids.JobNotFoundException
com.parabon.rapids.JobNotFoundException
public boolean listenerRunning()
throws com.parabon.rapids.JobNotFoundException,
java.io.IOException
com.parabon.rapids.JobNotFoundException
java.io.IOException
public void delete()
throws com.parabon.rapids.JobNotFoundException
com.parabon.rapids.JobNotFoundException
public java.lang.String getLogFile()
throws com.parabon.rapids.JobNotFoundException
com.parabon.rapids.JobNotFoundException
public java.lang.String getLogFile(java.lang.String taskId)
throws com.parabon.rapids.JobNotFoundException,
com.parabon.rapids.TaskNotFoundException
com.parabon.rapids.JobNotFoundException
com.parabon.rapids.TaskNotFoundException
public boolean kill()
throws com.parabon.rapids.JobNotFoundException
com.parabon.rapids.JobNotFoundException
public boolean killTask(java.lang.String taskId)
throws com.parabon.rapids.JobNotFoundException,
com.parabon.rapids.TaskNotFoundException
com.parabon.rapids.JobNotFoundException
com.parabon.rapids.TaskNotFoundException
public boolean stop()
throws com.parabon.rapids.JobNotFoundException
com.parabon.rapids.JobNotFoundException
public static java.lang.String create(java.lang.String templateName,
int nTasks,
java.lang.String resultSetName,
boolean keepRunning)
throws com.parabon.rapids.TemplateFormatException,
java.io.IOException,
com.parabon.rapids.BadParameterException
com.parabon.rapids.TemplateFormatException
java.io.IOException
com.parabon.rapids.BadParameterException
public static java.lang.String create(java.lang.String templateName,
java.lang.String dataSetName,
java.lang.String resultSetName,
boolean keepRunning)
throws com.parabon.rapids.TemplateFormatException,
java.io.IOException,
com.parabon.rapids.BadParameterException
com.parabon.rapids.TemplateFormatException
java.io.IOException
com.parabon.rapids.BadParameterException
public int update(int nTasks)
throws java.io.IOException,
com.parabon.rapids.BadParameterException,
com.parabon.rapids.JobNotFoundException
java.io.IOException
com.parabon.rapids.BadParameterException
com.parabon.rapids.JobNotFoundException
public int update()
throws com.parabon.rapids.TemplateFormatException,
java.io.IOException,
com.parabon.rapids.BadParameterException,
com.parabon.rapids.JobNotFoundException
com.parabon.rapids.TemplateFormatException
java.io.IOException
com.parabon.rapids.BadParameterException
com.parabon.rapids.JobNotFoundException
public void launch()
throws java.io.IOException,
com.parabon.rapids.JobNotFoundException
java.io.IOException
com.parabon.rapids.JobNotFoundException
public void listen()
throws java.io.IOException,
com.parabon.rapids.JobNotFoundException
java.io.IOException
com.parabon.rapids.JobNotFoundExceptionpublic static void main(java.lang.String[] args)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||