Workflow: ezcWorkflowNodeDiscriminator
[ ]
[ Theoretical background ]
[ ]
[ ]
[ ]
[ ]
Class: ezcWorkflowNodeDiscriminator
|
This node implements the Discriminator workflow pattern. [
source]
The Discriminator workflow pattern can be applied when the assumption made for the Simple Merge workflow pattern does not hold. It can deal with merge situations where multiple incoming branches may run in parallel. It activates its outgoing node after being activated by the first incoming branch and then waits for all remaining branches to complete before it resets itself. After the reset the Discriminator can be triggered again.
Use Case Example: To improve response time, an action is delegated to several distributed servers. The first response proceeds the flow, the other responses are ignored.
Incoming nodes: 2..* Outgoing nodes: 1
This example creates a workflow that splits in two parallel threads which are joined again using a ezcWorkflowNodeDiscriminator.
Parents
ezcWorkflowNode
|
--ezcWorkflowNodeMerge
|
--ezcWorkflowNodeDiscriminator
Inherited Constants
From
ezcWorkflowNode:
Inherited Member Variables
From
ezcWorkflowNodeMerge:
From
ezcWorkflowNode:
Inherited Methods
From
ezcWorkflowNodeMerge :
From
ezcWorkflowNode :
Last updated: Mon, 21 Dec 2009