X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=website%2Ffull_javadoc%2Fcompbio%2Fengine%2Fcluster%2Fdrmaa%2FJobRunner.html;fp=website%2Ffull_javadoc%2Fcompbio%2Fengine%2Fcluster%2Fdrmaa%2FJobRunner.html;h=c74bb59925f8528a544d7c074359fd68535671e0;hb=da8c820a7fb2edecb190589f3dc9c362e57a2f24;hp=0000000000000000000000000000000000000000;hpb=0bbebf27d045b1345bc042bdf24ef2e6808df251;p=jabaws.git diff --git a/website/full_javadoc/compbio/engine/cluster/drmaa/JobRunner.html b/website/full_javadoc/compbio/engine/cluster/drmaa/JobRunner.html new file mode 100644 index 0000000..c74bb59 --- /dev/null +++ b/website/full_javadoc/compbio/engine/cluster/drmaa/JobRunner.html @@ -0,0 +1,487 @@ + + + +
+ +
+
+
|
++ + | +|||||||||
+ PREV CLASS + NEXT CLASS | ++ FRAMES + NO FRAMES + + + + + | +|||||||||
+ SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
+java.lang.Object + compbio.engine.cluster.drmaa.JobRunner ++
public class JobRunner
+Single cluster job runner class +
+ +
+
+Constructor Summary | +|
---|---|
JobRunner(ConfiguredExecutable<?> confExec)
+
++ |
+
+Method Summary | +|
---|---|
+ boolean |
+cancelJob()
+
++ Stops running job. |
+
+ boolean |
+cleanup()
+
++ Clean up after the job |
+
+ boolean |
+deepClean()
+
++ |
+
+ void |
+executeJob()
+
++ Execute the job |
+
+static JobRunner |
+getInstance(ConfiguredExecutable<?> executable)
+
++ |
+
+ org.ggf.drmaa.JobInfo |
+getJobInfo()
+
++ This method will block before the calculation has completed and then + return the object containing a job execution statistics |
+
+ JobStatus |
+getJobStatus()
+
++ Query the status of the job by its id. |
+
+ String |
+getWorkDirectory()
+
++ |
+
+ ConfiguredExecutable<?> |
+waitForResult()
+
++ Call to this method block for as long as it is required for an executable to finish its job. |
+
Methods inherited from class java.lang.Object | +
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
+
+Constructor Detail | +
---|
+public JobRunner(ConfiguredExecutable<?> confExec) + throws JobSubmissionException+
JobSubmissionException
+Method Detail | +
---|
+public boolean deepClean()+
+public boolean cleanup()+
SyncExecutor
+
cleanup
in interface SyncExecutor
+public boolean cancelJob()+
SyncExecutor
+
cancelJob
in interface SyncExecutor
+public String getWorkDirectory()+
getWorkDirectory
in interface SyncExecutor
+public void executeJob() + throws JobSubmissionException+
SyncExecutor
+
executeJob
in interface SyncExecutor
JobSubmissionException
- if submission fails+public org.ggf.drmaa.JobInfo getJobInfo() + throws JobExecutionException+
+
JobExecutionException
+public ConfiguredExecutable<?> waitForResult() + throws JobExecutionException+
SyncExecutor
+
waitForResult
in interface SyncExecutor
JobExecutionException
+public JobStatus getJobStatus()+
SyncExecutor
+
getJobStatus
in interface SyncExecutor
+public static JobRunner getInstance(ConfiguredExecutable<?> executable) + throws JobSubmissionException+
JobSubmissionException
+
+
|
++ + | +|||||||||
+ PREV CLASS + NEXT CLASS | ++ FRAMES + NO FRAMES + + + + + | +|||||||||
+ SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +