compbio.engine.local
Class LocalEngineUtil

java.lang.Object
  extended by compbio.engine.local.LocalEngineUtil

public final class LocalEngineUtil
extends java.lang.Object


Constructor Summary
LocalEngineUtil()
           
 
Method Summary
static boolean cancelJob(java.util.concurrent.Future<ConfiguredExecutable<?>> future, java.lang.String workDirectory)
           
static boolean cleanup(ConfiguredExecutable<?> confExecutable)
           
static JobStatus getJobStatus(java.util.concurrent.Future<ConfiguredExecutable<?>> future)
           
static JobStatus getRecordedJobStatus(java.lang.String jobId)
           
static ConfiguredExecutable<?> getResults(java.util.concurrent.Future<ConfiguredExecutable<?>> future, java.lang.String taskId)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalEngineUtil

public LocalEngineUtil()
Method Detail

cancelJob

public static boolean cancelJob(java.util.concurrent.Future<ConfiguredExecutable<?>> future,
                                java.lang.String workDirectory)

getJobStatus

public static JobStatus getJobStatus(java.util.concurrent.Future<ConfiguredExecutable<?>> future)

getRecordedJobStatus

public static JobStatus getRecordedJobStatus(java.lang.String jobId)

cleanup

public static boolean cleanup(ConfiguredExecutable<?> confExecutable)

getResults

public static ConfiguredExecutable<?> getResults(java.util.concurrent.Future<ConfiguredExecutable<?>> future,
                                                 java.lang.String taskId)
                                          throws ResultNotAvailableException
Throws:
ResultNotAvailableException