Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Flowchart
resource_lock [label="Job Chain\ntriggered by Orders\nof resource lock consumers",fillcolor="orange"]
job_manage_resource_lock [label="Job Manage Resource Lock",fillcolor="lightskyblue"]
 
resource_lock_consumer_1 [label="Job Chain\nrepresents a\nresource lock consumer",fillcolor="orange"]
job_request_resource_lock_1 [label="Job Request Resource Lock",fillcolor="lightskyblue"]
job_step_1_1 [label="Job Step 1",fillcolor="lightskyblue"]
job_step_1_2 [label="Job Step 2",fillcolor="lightskyblue"]
resource_lock_available_1 [shape=diamond,label="resourece lock available?",fillcolor="white"]

resource_lock_consumer_2 [label="Job Chain\ntrepresents a\nresource lock consumer",fillcolor="orange"]
job_request_resource_lock_2 [label="Job Request Resource Lock",fillcolor="lightskyblue"]
job_step_2_1 [label="Job Step 1",fillcolor="lightskyblue"]
job_step_2_2 [label="Job Step 2",fillcolor="lightskyblue"]
resource_lock_available_2 [shape=diamond,label="resourece lock available?",fillcolor="white"]

order_1A [shape="ellipse",label="Order 1A",fillcolor="violet"]
order_1B [shape="ellipse",label="Order 1B",fillcolor="violet"]
order_2A [shape="ellipse",label="Order 2A",fillcolor="violet"]
order_2B [shape="ellipse",label="Order 2B",fillcolor="violet"]

shadow_order_1A [shape="ellipse",label="Shadow Order 1A",fillcolor="violet"]
shadow_order_1B [shape="ellipse",label="Shadow Order 1B",fillcolor="violet"]
shadow_order_2A [shape="ellipse",label="Shadow Order 2A",fillcolor="violet"]
shadow_order_2B [shape="ellipse",label="Shadow Order 2B",fillcolor="violet"]

order_suspend [label="Suspend Order",fillcolor="white"]
order_wait [label="Wait for next Order",fillcolor="white"]
order_move [label="Move Orders to Next Job",fillcolor="white"]

resource_lock_consumer_1 -> order_1A
resource_lock_consumer_1 -> order_1B
order_1A -> job_request_resource_lock_1
order_1B -> job_request_resource_lock_1
job_request_resource_lock_1 -> shadow_order_1A -> resource_lock_available_1
job_request_resource_lock_1 -> shadow_order_1B -> resource_lock_available_1
resource_lock_available_1 -> order_move [label=" yes "]
resource_lock_available_1 -> order_suspend [label=" no "]

resource_lock -> job_manage_resource_lock
job_manage_resource_lock -> shadow_order_1A
job_manage_resource_lock -> shadow_order_1B
job_manage_resource_lock -> shadow_order_2A
job_manage_resource_lock -> shadow_order_2B
 
resource_lock_consumer_2 -> order_2A
resource_lock_consumer_2 -> order_2B

order_1A -> shadow_order_1A
order_1B -> shadow_order_1B
order_2A -> shadow_order_2A
order_2B -> shadow_order_2B
 

Implementation

Components

...