Task handler for Google Pipelines.
| Modifiers | Name | Description |
|---|---|---|
static java.lang.String |
DEFAULT_DISK_NAME |
| Fields inherited from class | Fields |
|---|---|
class nextflow.processor.TaskHandler |
__$stMC |
| Type | Name and description |
|---|---|
GoogleLifeSciencesExecutor |
executor |
| Constructor and description |
|---|
GoogleLifeSciencesTaskHandler
(nextflow.processor.TaskRun task, GoogleLifeSciencesExecutor executor) |
protected GoogleLifeSciencesTaskHandler
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
boolean |
checkIfCompleted() |
|
boolean |
checkIfRunning()@return It should return true only the very first time the
the task status transitions from SUBMITTED to RUNNING, in all other
cases if should return false |
|
protected com.google.api.services.lifesciences.v2beta.model.Mount |
configureMount(java.lang.String diskName, java.lang.String mountPath, boolean readOnly = false) |
|
protected java.lang.String |
getMachineType() |
|
protected java.lang.String |
getMachineType0(java.lang.String taskMachineType, int cpus, nextflow.util.MemoryUnit memory) |
|
nextflow.trace.TraceRecord |
getTraceRecord() |
|
void |
kill() |
|
protected void |
logEvents(com.google.api.services.compute.model.Operation operation) |
|
static java.lang.String |
prettyPrint(com.google.api.services.compute.model.Operation op) |
|
static java.lang.String |
prettyPrint(java.util.List<com.google.api.services.lifesciences.v2beta.model.Event> events) |
|
void |
submit() |
|
void |
validateConfiguration() |
| Methods inherited from class | Name |
|---|---|
class nextflow.processor.TaskHandler |
nextflow.processor.TaskHandler#setProperty(java.lang.String, java.lang.Object), nextflow.processor.TaskHandler#getProperty(java.lang.String), nextflow.processor.TaskHandler#toString(), nextflow.processor.TaskHandler#getStatus(), nextflow.processor.TaskHandler#setStatus(nextflow.processor.TaskStatus), nextflow.processor.TaskHandler#kill(), nextflow.processor.TaskHandler#invokeMethod(java.lang.String, java.lang.Object), nextflow.processor.TaskHandler#getMetaClass(), nextflow.processor.TaskHandler#setMetaClass(groovy.lang.MetaClass), nextflow.processor.TaskHandler#checkIfRunning(), nextflow.processor.TaskHandler#checkIfCompleted(), nextflow.processor.TaskHandler#isSubmitted(), nextflow.processor.TaskHandler#isCompleted(), nextflow.processor.TaskHandler#submit(), nextflow.processor.TaskHandler#isRunning(), nextflow.processor.TaskHandler#getTask(), nextflow.processor.TaskHandler#isNew(), nextflow.processor.TaskHandler#setTask(nextflow.processor.TaskRun), nextflow.processor.TaskHandler#getStatusString(), nextflow.processor.TaskHandler#getTraceRecord(), nextflow.processor.TaskHandler#canForkProcess(), nextflow.processor.TaskHandler#incProcessForks(), nextflow.processor.TaskHandler#decProcessForks(), nextflow.processor.TaskHandler#getSubmitTimeMillis(), nextflow.processor.TaskHandler#setSubmitTimeMillis(long), nextflow.processor.TaskHandler#getStartTimeMillis(), nextflow.processor.TaskHandler#setStartTimeMillis(long), nextflow.processor.TaskHandler#getCompleteTimeMillis(), nextflow.processor.TaskHandler#setCompleteTimeMillis(long), nextflow.processor.TaskHandler#super$1$toString(), nextflow.processor.TaskHandler#wait(long, int), nextflow.processor.TaskHandler#wait(long), nextflow.processor.TaskHandler#wait(), nextflow.processor.TaskHandler#equals(java.lang.Object), nextflow.processor.TaskHandler#hashCode(), nextflow.processor.TaskHandler#getClass(), nextflow.processor.TaskHandler#notify(), nextflow.processor.TaskHandler#notifyAll() |
true only the very first time the
the task status transitions from SUBMITTED to RUNNING, in all other
cases if should return falseGroovy Documentation