@groovy.util.logging.Slf4j @groovy.transform.CompileStatic abstract class IgBaseTask extends java.lang.Object
Models a task executed remotely in a Ignite cluster node
- The type of the value returned by the #call method| Modifiers | Name | Description |
|---|---|---|
protected nextflow.processor.TaskBean |
bean |
Holds the class attributes in this map. |
| Type | Name and description |
|---|---|
TaskResources |
resourcesRequested computational resources |
java.util.UUID |
sessionIdThe client session identifier, it is required in order to access to remote class-path |
| Constructor and description |
|---|
protected IgBaseTask
(nextflow.processor.TaskRun task, java.util.UUID sessionId)Initialize the grid gain task wrapper |
protected IgBaseTask
()ONLY FOR TESTING PURPOSE |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected void |
afterExecute()Template method invoke after the task is executed |
|
protected void |
beforeExecute()Template method invoked before the task is executed |
|
T |
call()Invoke the task execution. |
|
protected void |
deserialize() |
|
boolean |
equals(java.lang.Object obj) |
|
java.lang.Object |
execute()Just a synonym for #call |
|
protected T |
execute0()The actual task executor code provided by the extending subclass |
|
nextflow.processor.TaskId |
getTaskId() |
|
int |
hashCode() |
|
java.lang.String |
toString() |
| 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() |
Holds the class attributes in this map. Note: is defined as 'transient' because
the map content is serialized as a byte[] and saved to the payload field
Requested computational resources
The client session identifier, it is required in order to access to remote class-path
Initialize the grid gain task wrapper
task - The task instance to be executedThe - session unique identifierONLY FOR TESTING PURPOSE
Template method invoke after the task is executed
Template method invoked before the task is executed
Invoke the task execution. It calls the following methods in this sequence: stage, execute0 and unstage
execute0 result value Just a synonym for #call
The actual task executor code provided by the extending subclass
Groovy Documentation