public class WaitAndPrint extends JavaExecutable
Modifier and Type | Field and Description |
---|---|
int |
number
Parameter number.
|
int |
sleepTime
Sleeping time before displaying.
|
execInitializer
Constructor and Description |
---|
WaitAndPrint() |
Modifier and Type | Method and Description |
---|---|
Serializable |
execute(TaskResult... results)
The content of this method will be executed once after being scheduled.
This may generate a result as an Object . |
getAllNodesURL, getErr, getGlobalSpace, getInputSpace, getIterationIndex, getLocalSpace, getMetadata, getNodesURL, getOut, getOutputSpace, getProgress, getReplicationIndex, getResultMap, getSignalAPI, getSynchronizationAPI, getThirdPartyCredential, getUserSpace, getVariables, init, initAPIs, initDataSpaces, initMetadata, initResultMap, internalInit, setProgress, setVariables
public int sleepTime
public int number
public Serializable execute(TaskResult... results) throws Throwable
JavaExecutable
Object
. It can be whatever you want.execute
in class JavaExecutable
results
- the results (as a taskResult) from parent tasks.Throwable
- any exception thrown by the user's codeJavaExecutable.execute(TaskResult[])