|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.node.workflow.NodeExecutionJob
org.knime.core.node.exec.LocalNodeExecutionJob
public class LocalNodeExecutionJob
A locally executed node job. It can only execute SingleNodeContainer.
| Constructor Summary | |
|---|---|
LocalNodeExecutionJob(SingleNodeContainer snc,
PortObject[] data)
Creates new local job. |
|
| Method Summary | |
|---|---|
boolean |
cancel()
Called when the execution is to be canceled. |
boolean |
isReConnecting()
Whether this job has been disconnected (from a cluster execution, e.g.) and is now resuming the execution. |
NodeContainerExecutionStatus |
mainExecute()
Called when the main execution takes place. |
(package private) void |
setFuture(Future<?> future)
Set the future that represents the pending execution. |
| Methods inherited from class org.knime.core.node.workflow.NodeExecutionJob |
|---|
afterExecute, beforeExecute, getNodeContainer, getPortObjects, getPortObjectsExcludeFlowVariablePort, run |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocalNodeExecutionJob(SingleNodeContainer snc,
PortObject[] data)
snc - The node container to execute.data - Its input port object.| Method Detail |
|---|
public boolean cancel()
cancel in class NodeExecutionJobFuture.cancel(boolean)void setFuture(Future<?> future)
future - the future to setpublic NodeContainerExecutionStatus mainExecute()
NodeContainer.State.EXECUTING or
NodeContainer.State.EXECUTINGREMOTELY when this method is called.
mainExecute in class NodeExecutionJobpublic boolean isReConnecting()
isReConnecting in class NodeExecutionJob
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||