Interface Orchestrator
-
public interface Orchestrator
Orchestrator is created for each execution this deals with the actual selection of nodes
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isComplete()
INodeEntry
nextNode()
void
returnNode(INodeEntry node, boolean success, NodeStepResult result)
Indicates that the node processor has completed work on the given node
-
-
-
Method Detail
-
nextNode
INodeEntry nextNode()
- Returns:
- the next available node, or null if no node is available
-
returnNode
void returnNode(INodeEntry node, boolean success, NodeStepResult result)
Indicates that the node processor has completed work on the given node- Parameters:
node
- the nodesuccess
- true if the execution was successfulresult
- the result if available
-
isComplete
boolean isComplete()
- Returns:
- true if no more nodes will ever be available, false to indicate that new nodes might become available
-
-