@groovy.transform.EqualsAndHashCode @groovy.transform.CompileStatic class Protocol.TaskHolder
Holds the metadata of a scheduled task
| Type | Name and description |
|---|---|
boolean |
completed |
java.lang.Throwable |
errorNote mark this field as `volatile` because it is accessed by other threads. |
java.lang.Object |
resultNote mark this field as `volatile` because it is accessed by other threads. |
long |
startTimestamp |
boolean |
started |
long |
submitTimestamp |
IgBaseTask |
taskThe actual task object |
java.util.UUID |
workerThe ID of the node where the task is running |
| Constructor and description |
|---|
protected Protocol.TaskHolder
() |
Protocol.TaskHolder
(IgBaseTask task) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
TaskHolder |
clone() |
|
boolean |
isWaitingMoreThan(nextflow.util.Duration duration) |
|
java.lang.String |
toString() |
|
TaskHolder |
withComplete(TaskComplete message) |
|
TaskHolder |
withStart(java.util.UUID worker) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Note mark this field as `volatile` because it is accessed by other threads. An alternative implementation would required to define this immutable and have the method withComplete(nextflow.scheduler.Protocol.TaskComplete) to create a copy of this object IgExecutor.checkTaskFailed
Note mark this field as `volatile` because it is accessed by other threads. An alternative implementation would required to define this immutable and have the method withComplete(nextflow.scheduler.Protocol.TaskComplete) to create a copy of this object IgTaskHandler.checkIfCompleted
The actual task object
The ID of the node where the task is running
Groovy Documentation