Mercurial > hg > orthanc
annotate Resources/ImplementationNotes/JobsEngineStates.dot @ 3461:7fc9dd4882ec
merge
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Tue, 09 Jul 2019 10:30:44 +0200 |
parents | 8da2cffc2378 |
children |
rev | line source |
---|---|
2558 | 1 // dot -Tpdf JobsEngineStates.dot -o JobsEngineStates.pdf |
2 | |
3 digraph G | |
4 { | |
5 rankdir="LR"; | |
6 init [shape=point]; | |
7 failure, success [shape=doublecircle]; | |
8 | |
9 // Internal transitions | |
10 init -> pending; | |
11 pending -> running; | |
12 running -> success; | |
13 running -> failure; | |
14 running -> retry; | |
15 retry -> pending [label="timeout"]; | |
16 | |
17 // External actions | |
18 failure -> pending [label="Resubmit()" fontcolor="red"]; | |
19 paused -> pending [label="Resume()" fontcolor="red"]; | |
20 pending -> paused [label="Pause()" fontcolor="red"]; | |
21 retry -> paused [label="Pause()" fontcolor="red"]; | |
22 running -> paused [label="Pause()" fontcolor="red"]; | |
2581
8da2cffc2378
JobsRegistry::Cancel()
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2559
diff
changeset
|
23 |
8da2cffc2378
JobsRegistry::Cancel()
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2559
diff
changeset
|
24 paused -> failure [label="Cancel()" fontcolor="red"]; |
8da2cffc2378
JobsRegistry::Cancel()
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2559
diff
changeset
|
25 pending -> failure [label="Cancel()" fontcolor="red"]; |
8da2cffc2378
JobsRegistry::Cancel()
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2559
diff
changeset
|
26 retry -> failure [label="Cancel()" fontcolor="red"]; |
8da2cffc2378
JobsRegistry::Cancel()
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2559
diff
changeset
|
27 running -> failure [label="Cancel()" fontcolor="red"]; |
2559 | 28 } |