Изменения документа Движок cccc1808. ProcessEngine

Редактировал(а) Alexandr Fokin 2026/04/27 13:28

От версии 27.5
отредактировано Alexandr Fokin
на 2026/04/10 20:15
Изменить комментарий: К данной версии нет комментариев
К версии 17.1
отредактировано Alexandr Fokin
на 2026/04/10 19:38
Изменить комментарий: Загрузить новое изображение Родительский дочерний процесс. Sequence.jpg

Сводка

Подробности

Свойства страницы
Содержимое
... ... @@ -101,13 +101,8 @@
101 101  )))
102 102  |(% style="width:32px" %)2|(% style="width:171px" %)Transaction outbox stream process.|(% style="width:1066px" %)[[image:TransactionOutbox. Sequence.jpg]]
103 103  |(% style="width:32px" %)3|(% style="width:171px" %)Stream trigger|(% style="width:1066px" %)(((
104 -|(% style="width:94px" %) |(% style="width:1002px" %)(((
105 -* Позволяет убрать лишние запросы пробуждения процесса (когда он и так запущен).
106 -* Позволяет полностью убрать задержку после остановки процесса (если есть новое сообщения, то он сразу же будет пробужден).
107 -За счет того, что триггер точно знает, что есть новые сообщения и процесс только что уснул.
108 -* Вводит 2 типа события, 1 сигнал о новом сообщении (содержит offset значение), 2 - процесс идет спать (содержит offset значение).
109 -* Вводит дополнительное состояние в триггер: максимальный offset сообщения, максимальный offset обработанного процессом сообщения, флаг состояния сна процесса.
110 -)))
104 +|(% style="width:94px" %) |(% style="width:1002px" %)Позволяет убрать лишние запросы пробуждения процесса (когда он и так запущен).
105 +Вводит 2 типа события, 1 сигнал о новом сообщении (содержит offset значение), 2 - процесс идет спать (содержит offset значение).
111 111  |(% style="width:94px" %)Алгоритм триггера.|(% style="width:1002px" %)(((
112 112  * При получении события о засыпании процесса:
113 113  Фиксирует смещение процесса обработки и сравнивает со смещением сообщения.
... ... @@ -117,6 +117,7 @@
117 117  Если процесс не спит (по флагу в триггере), то ничего не делает.
118 118  Если процесс спит (по флагу), то пробуждает процесс.
119 119  
115 +
120 120  Отслеживает смещение обработки процесса и последнего события.
121 121  Ожидает от процесса события о том, что он все обработал, его последнее смещение и он идет спать.
122 122  Если есть сообщения со смещением больше чем указал процесс, то делает гарантированное пробуждение процесса.
... ... @@ -126,26 +126,4 @@
126 126  )))
127 127  )))
128 128  
129 -----
130 -
131 -==== Внутренние ссылки: ====
132 -
133 -====== Дочерние страницы: ======
134 -
135 -{{children/}}
136 -
137 -====== Обратные ссылки: ======
138 -
139 -{{velocity}}
140 -#set ($links = $doc.getBacklinks())
141 -#if ($links.size() > 0)
142 - #foreach ($docname in $links)
143 - #set ($rdoc = $xwiki.getDocument($docname).getTranslatedDocument())
144 - * [[$escapetool.xml($rdoc.fullName)]]
145 - #end
146 -#else
147 - No back links for this page!
148 -#end
149 -{{/velocity}}
150 -
151 -----
125 +
TransactionOutbox. Sequence.graphml
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.cccc1808
Размер
... ... @@ -1,1 +1,0 @@
1 -33.6 KB
Содержимое
TransactionOutbox. Sequence.jpg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.cccc1808
Размер
... ... @@ -1,1 +1,0 @@
1 -247.1 KB
Содержимое
Родительский дочерний процесс. Sequence.graphml
Размер
... ... @@ -1,1 +1,1 @@
1 -33.6 KB
1 +43.0 KB
Содержимое
... ... @@ -18,11 +18,11 @@
18 18   <data key="d5"/>
19 19   <data key="d6">
20 20   <y:ShapeNode>
21 - <y:Geometry height="30.0" width="240.2240000000017" x="280.9759999999975" y="439.28000000000003"/>
21 + <y:Geometry height="30.0" width="141.20000000000005" x="278.68000000000154" y="181.84799999999981"/>
22 22   <y:Fill color="#FFCC00" transparent="false"/>
23 23   <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
24 - <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="234.478515625" x="2.872742187500876" xml:space="preserve" y="5.6494140625">Гарантированное пробудление процесса<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
25 - <y:Shape type="ellipse"/>
24 + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="131.189453125" x="5.005273437500023" xml:space="preserve" y="5.6494140625">Родительский процесс<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
25 + <y:Shape type="roundrectangle"/>
26 26   </y:ShapeNode>
27 27   </data>
28 28   </node>
... ... @@ -30,10 +30,10 @@
30 30   <data key="d5"/>
31 31   <data key="d6">
32 32   <y:ShapeNode>
33 - <y:Geometry height="30.0" width="51.75999999999999" x="378.2160000000002" y="102.96000000000016"/>
33 + <y:Geometry height="30.0" width="122.79999999999995" x="686.3840000000029" y="181.84799999999981"/>
34 34   <y:Fill color="#FFCC00" transparent="false"/>
35 35   <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
36 - <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="46.80859375" x="2.4757031249999955" xml:space="preserve" y="5.6494140625">Триггер<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
36 + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="107.16015625" x="7.819921874999977" xml:space="preserve" y="5.6494140625">Дочерний процесс<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
37 37   <y:Shape type="roundrectangle"/>
38 38   </y:ShapeNode>
39 39   </data>
... ... @@ -42,11 +42,12 @@
42 42   <data key="d5"/>
43 43   <data key="d6">
44 44   <y:ShapeNode>
45 - <y:Geometry height="30.0" width="66.47999999999999" x="31.40000000000012" y="102.96000000000018"/>
45 + <y:Geometry height="30.0" width="163.2" x="267.68000000000154" y="347.48799999999983"/>
46 46   <y:Fill color="#FFCC00" transparent="false"/>
47 47   <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
48 - <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="63.501953125" x="1.4890234374999807" xml:space="preserve" y="5.6494140625">Отправить<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
49 - <y:Shape type="roundrectangle"/>
48 + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="33.40234375" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="114.630859375" x="24.284570312500023" xml:space="preserve" y="-1.701171875">Создает и запускат
49 +дочерние процессы<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
50 + <y:Shape type="ellipse"/>
50 50   </y:ShapeNode>
51 51   </data>
52 52   </node>
... ... @@ -54,11 +54,10 @@
54 54   <data key="d5"/>
55 55   <data key="d6">
56 56   <y:ShapeNode>
57 - <y:Geometry height="49.20000000000002" width="279.6" x="-75.15999999999988" y="265.2319999999994"/>
58 + <y:Geometry height="30.0" width="88.39999999999998" x="305.0800000000016" y="408.16799999999984"/>
58 58   <y:Fill color="#FFCC00" transparent="false"/>
59 59   <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
60 - <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="33.40234375" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="272.072265625" x="3.7638671875000114" xml:space="preserve" y="7.898828124999994">Отправка сообщения через TransactionalOutbox
61 -(транзакционная запись в БД)<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
61 + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="106.99609375" x="-9.298046875000011" xml:space="preserve" y="5.6494140625">Процесс засыпает<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
62 62   <y:Shape type="ellipse"/>
63 63   </y:ShapeNode>
64 64   </data>
... ... @@ -67,10 +67,10 @@
67 67   <data key="d5"/>
68 68   <data key="d6">
69 69   <y:ShapeNode>
70 - <y:Geometry height="30.0" width="146.47999999999996" x="-8.599999999999838" y="355.0480000000008"/>
70 + <y:Geometry height="30.0" width="288.4" x="205.08000000000158" y="286.8079999999999"/>
71 71   <y:Fill color="#FFCC00" transparent="false"/>
72 72   <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
73 - <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="125.0078125" x="10.73609374999998" xml:space="preserve" y="5.6494140625">Отправка triggerEvent<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
73 + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="271.556640625" x="8.421679687499989" xml:space="preserve" y="5.6494140625">Создает триггер счетчик на дочерние процессы<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
74 74   <y:Shape type="ellipse"/>
75 75   </y:ShapeNode>
76 76   </data>
... ... @@ -79,7 +79,19 @@
79 79   <data key="d5"/>
80 80   <data key="d6">
81 81   <y:ShapeNode>
82 - <y:Geometry height="30.0" width="30.0" x="386.0879999999984" y="351.33600000000155"/>
82 + <y:Geometry height="30.0" width="102.80000000000007" x="524.4080000000017" y="181.84799999999981"/>
83 + <y:Fill color="#FFCC00" transparent="false"/>
84 + <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
85 + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="92.76953125" x="5.015234375000091" xml:space="preserve" y="5.6494140625">Триггер счетчик<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
86 + <y:Shape type="roundrectangle"/>
87 + </y:ShapeNode>
88 + </data>
89 + </node>
90 + <node id="n6">
91 + <data key="d5"/>
92 + <data key="d6">
93 + <y:ShapeNode>
94 + <y:Geometry height="30.0" width="30.0" x="560.8080000000018" y="536.28"/>
83 83   <y:Fill color="#FFFFFF" transparent="false"/>
84 84   <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
85 85   <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="4.0" x="13.0" y="13.0">
... ... @@ -94,35 +94,66 @@
94 94   </y:ShapeNode>
95 95   </data>
96 96   </node>
97 - <node id="n6">
109 + <node id="n7">
98 98   <data key="d5"/>
99 99   <data key="d6">
100 100   <y:ShapeNode>
101 - <y:Geometry height="30.0" width="122.80000000000007" x="710.2040000000015" y="102.96000000000018"/>
113 + <y:Geometry height="30.0" width="30.0" x="732.7840000000028" y="408.16799999999984"/>
114 + <y:Fill color="#FFFFFF" transparent="false"/>
115 + <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
116 + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="4.0" x="13.0" y="13.0">
117 + <y:LabelModel>
118 + <y:SmartNodeLabelModel distance="4.0"/>
119 + </y:LabelModel>
120 + <y:ModelParameter>
121 + <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
122 + </y:ModelParameter>
123 + </y:NodeLabel>
124 + <y:Shape type="ellipse"/>
125 + </y:ShapeNode>
126 + </data>
127 + </node>
128 + <node id="n8">
129 + <data key="d5"/>
130 + <data key="d6">
131 + <y:ShapeNode>
132 + <y:Geometry height="30.0" width="155.60000000000002" x="669.9840000000029" y="536.28"/>
102 102   <y:Fill color="#FFCC00" transparent="false"/>
103 103   <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
104 - <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="88.041015625" x="17.37949218750009" xml:space="preserve" y="5.6494140625">Outbox process<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
105 - <y:Shape type="roundrectangle"/>
135 + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="127.779296875" x="13.910351562499955" xml:space="preserve" y="5.6494140625">Пуликует TriggerEvent<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
136 + <y:Shape type="ellipse"/>
106 106   </y:ShapeNode>
107 107   </data>
108 108   </node>
109 - <node id="n7">
140 + <node id="n9">
110 110   <data key="d5"/>
111 111   <data key="d6">
112 112   <y:ShapeNode>
113 - <y:Geometry height="30.0" width="66.47999999999999" x="31.40000000000012" y="709.7220000000023"/>
144 + <y:Geometry height="30.0" width="217.19999999999993" x="467.2080000000018" y="668.78"/>
114 114   <y:Fill color="#FFCC00" transparent="false"/>
115 115   <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
116 - <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="63.501953125" x="1.489023437500009" xml:space="preserve" y="5.6494140625">Отправить<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
117 - <y:Shape type="roundrectangle"/>
147 + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="145.0" x="36.09999999999991" xml:space="preserve" y="5.6494140625">Если счетчик дошел до 0<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
148 + <y:Shape type="diamond"/>
118 118   </y:ShapeNode>
119 119   </data>
120 120   </node>
121 - <node id="n8">
152 + <node id="n10">
122 122   <data key="d5"/>
123 123   <data key="d6">
124 124   <y:ShapeNode>
125 - <y:Geometry height="30.0" width="30.0" x="756.6040000000016" y="439.28000000000003"/>
156 + <y:Geometry height="30.0" width="217.19999999999993" x="467.2080000000019" y="755.2720000000005"/>
157 + <y:Fill color="#FFCC00" transparent="false"/>
158 + <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
159 + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="204.666015625" x="6.266992187499909" xml:space="preserve" y="5.6494140625">Пробуждаем родительский процесс<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
160 + <y:Shape type="ellipse"/>
161 + </y:ShapeNode>
162 + </data>
163 + </node>
164 + <node id="n11">
165 + <data key="d5"/>
166 + <data key="d6">
167 + <y:ShapeNode>
168 + <y:Geometry height="30.0" width="30.0" x="334.28000000000156" y="755.2720000000006"/>
126 126   <y:Fill color="#FFFFFF" transparent="false"/>
127 127   <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
128 128   <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="4.0" x="13.0" y="13.0">
... ... @@ -137,87 +137,97 @@
137 137   </y:ShapeNode>
138 138   </data>
139 139   </node>
140 - <node id="n9">
183 + <node id="n12">
141 141   <data key="d5"/>
142 142   <data key="d6">
143 143   <y:ShapeNode>
144 - <y:Geometry height="30.0" width="210.80000000000007" x="666.2040000000015" y="617.216000000002"/>
187 + <y:Geometry height="30.0" width="190.79999999999995" x="652.3840000000029" y="472.22399999999993"/>
145 145   <y:Fill color="#FFCC00" transparent="false"/>
146 146   <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
147 - <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="209.65234375" x="0.573828125000091" xml:space="preserve" y="5.6494140625">Обработка скопившихся сообщений.<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
190 + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="164.833984375" x="12.983007812499977" xml:space="preserve" y="5.6494140625">Выполняется и завершается<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
148 148   <y:Shape type="ellipse"/>
149 149   </y:ShapeNode>
150 150   </data>
151 151   </node>
152 - <node id="n10">
195 + <node id="n13">
153 153   <data key="d5"/>
154 154   <data key="d6">
155 155   <y:ShapeNode>
156 - <y:Geometry height="30.0" width="132.80000000000098" x="967.4200000000045" y="99.2480000000009"/>
199 + <y:Geometry height="46.799999999999955" width="265.20000000000005" x="216.68000000000154" y="875.2720000000006"/>
157 157   <y:Fill color="#FFCC00" transparent="false"/>
158 158   <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
159 - <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="120.09765625" x="6.351171875000546" xml:space="preserve" y="5.6494140625">Страхующий триггер<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
160 - <y:Shape type="roundrectangle"/>
202 + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="33.40234375" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="229.1640625" x="18.017968750000023" xml:space="preserve" y="6.698828124999977">Можно дополнительно првоерить,
203 +что все дочерние процессы выполнены.<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
204 + <y:Shape type="ellipse"/>
161 161   </y:ShapeNode>
162 162   </data>
163 163   </node>
164 - <node id="n11">
208 + <node id="n14">
165 165   <data key="d5"/>
166 166   <data key="d6">
167 167   <y:ShapeNode>
168 - <y:Geometry height="30.0" width="132.80000000000098" x="967.4200000000045" y="709.7220000000023"/>
212 + <y:Geometry height="30.0" width="217.19999999999993" x="467.2080000000018" y="596.28"/>
169 169   <y:Fill color="#FFCC00" transparent="false"/>
170 170   <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
171 - <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="120.09765625" x="6.351171875000432" xml:space="preserve" y="5.6494140625">Страхующий триггер<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
172 - <y:Shape type="roundrectangle"/>
215 + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="33.40234375" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="187.01171875" x="15.094140624999909" xml:space="preserve" y="-1.701171875">Пакетно считывает TriggerEvent.
216 +Уменьшает счетчик.<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
217 + <y:Shape type="ellipse"/>
173 173   </y:ShapeNode>
174 174   </data>
175 175   </node>
176 - <node id="n12">
221 + <node id="n15">
177 177   <data key="d5"/>
178 178   <data key="d6">
179 179   <y:ShapeNode>
180 - <y:Geometry height="90.95999999999992" width="246.68" x="910.4800000000049" y="526.2560000000021"/>
225 + <y:Geometry height="30.0" width="155.60000000000002" x="271.48000000000155" y="941.2720000000007"/>
181 181   <y:Fill color="#FFCC00" transparent="false"/>
182 182   <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
183 - <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="48.103515625" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="212.65234375" x="17.013828125000032" xml:space="preserve" y="21.428242187500018">Пробуждает родительский процесс.
184 -Но это произойдет позже,
185 -чем это сделал бы основной триггер.<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
228 + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="131.0546875" x="12.272656250000011" xml:space="preserve" y="5.6494140625">Процесс завершается.<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
186 186   <y:Shape type="ellipse"/>
187 187   </y:ShapeNode>
188 188   </data>
189 189   </node>
190 - <node id="n13">
233 + <node id="n16">
191 191   <data key="d5"/>
192 192   <data key="d6">
193 193   <y:ShapeNode>
194 - <y:Geometry height="145.68000000000006" width="374.863999999998" x="846.388000000006" y="329.81372800000196"/>
237 + <y:Geometry height="30.0" width="135.60000000000002" x="281.48000000000155" y="1012.9282720000002"/>
195 195   <y:Fill color="#FFCC00" transparent="false"/>
196 196   <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
197 - <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="48.103515625" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="410.921875" x="-18.028937500001007" xml:space="preserve" y="48.78824218750003">Обнаружил что есть необработанные сообщения,
198 -но transactionanOutbox процесс спит и давно не брался в обработку.
199 -Считает, что были утеряны triggerEvent, поэтому необходимо пробудить<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
200 - <y:Shape type="diamond"/>
240 + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="131.189453125" x="2.2052734375000114" xml:space="preserve" y="5.6494140625">Родительский процесс<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
241 + <y:Shape type="roundrectangle"/>
201 201   </y:ShapeNode>
202 202   </data>
203 203   </node>
204 - <node id="n14">
245 + <node id="n17">
205 205   <data key="d5"/>
206 206   <data key="d6">
207 - <y:GenericNode configuration="BevelNode">
208 - <y:Geometry height="30.0" width="374.863999999998" x="1053.820000000005" y="147.99000000000058"/>
209 - <y:Fill color="#FF9900" transparent="false"/>
210 - <y:BorderStyle hasColor="false" type="line" width="1.0"/>
211 - <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="33.40234375" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="364.603515625" x="5.130242187498993" xml:space="preserve" y="-1.701171875">Запускается периодически и использует более тяжелый запрос.
212 -Проверяет всю таблицу или индекс.<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
213 - </y:GenericNode>
248 + <y:ShapeNode>
249 + <y:Geometry height="30.0" width="135.60000000000002" x="679.9840000000029" y="1012.9282720000001"/>
250 + <y:Fill color="#FFCC00" transparent="false"/>
251 + <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
252 + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="107.16015625" x="14.219921875000068" xml:space="preserve" y="5.6494140625">Дочерний процесс<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
253 + <y:Shape type="roundrectangle"/>
254 + </y:ShapeNode>
214 214   </data>
215 215   </node>
216 - <node id="n15">
257 + <node id="n18">
217 217   <data key="d5"/>
218 218   <data key="d6">
219 219   <y:ShapeNode>
220 - <y:Geometry height="30.0" width="30.0" x="756.6040000000016" y="556.7360000000022"/>
261 + <y:Geometry height="30.0" width="97.35999999999979" x="527.128000000002" y="1012.9282720000001"/>
262 + <y:Fill color="#FFCC00" transparent="false"/>
263 + <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
264 + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="92.76953125" x="2.2952343749998363" xml:space="preserve" y="5.6494140625">Триггер счетчик<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
265 + <y:Shape type="roundrectangle"/>
266 + </y:ShapeNode>
267 + </data>
268 + </node>
269 + <node id="n19">
270 + <data key="d5"/>
271 + <data key="d6">
272 + <y:ShapeNode>
273 + <y:Geometry height="30.0" width="30.0" x="560.8080000000018" y="286.8079999999999"/>
221 221   <y:Fill color="#FFFFFF" transparent="false"/>
222 222   <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
223 223   <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="4.0" x="13.0" y="13.0">
... ... @@ -232,56 +232,90 @@
232 232   </y:ShapeNode>
233 233   </data>
234 234   </node>
235 - <node id="n16">
288 + <node id="n20">
236 236   <data key="d5"/>
237 237   <data key="d6">
238 238   <y:ShapeNode>
239 - <y:Geometry height="30.0" width="122.80000000000007" x="710.2040000000015" y="744.9220000000023"/>
292 + <y:Geometry height="30.0" width="132.80000000000098" x="-28.383999999996945" y="181.84799999999981"/>
240 240   <y:Fill color="#FFCC00" transparent="false"/>
241 241   <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
242 - <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="88.041015625" x="17.37949218750009" xml:space="preserve" y="5.6494140625">Outbox process<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
295 + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="120.09765625" x="6.351171875000489" xml:space="preserve" y="5.6494140625">Страхующий триггер<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
243 243   <y:Shape type="roundrectangle"/>
244 244   </y:ShapeNode>
245 245   </data>
246 246   </node>
247 - <node id="n17">
300 + <node id="n21">
248 248   <data key="d5"/>
249 249   <data key="d6">
250 250   <y:ShapeNode>
251 - <y:Geometry height="30.0" width="51.75999999999999" x="375.2079999999984" y="709.7220000000023"/>
304 + <y:Geometry height="30.0" width="132.80000000000098" x="-28.383999999996945" y="1012.9282720000001"/>
252 252   <y:Fill color="#FFCC00" transparent="false"/>
253 253   <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
254 - <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="46.80859375" x="2.4757031249999955" xml:space="preserve" y="5.6494140625">Триггер<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
307 + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="120.09765625" x="6.351171875000489" xml:space="preserve" y="5.6494140625">Страхующий триггер<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
255 255   <y:Shape type="roundrectangle"/>
256 256   </y:ShapeNode>
257 257   </data>
258 258   </node>
259 - <node id="n18">
312 + <node id="n22">
260 260   <data key="d5"/>
261 261   <data key="d6">
262 262   <y:ShapeNode>
263 - <y:Geometry height="44.07999999999993" width="463.28" x="169.4479999999984" y="523.489000000002"/>
316 + <y:Geometry height="90.95999999999992" width="246.68" x="-85.32399999999646" y="785.462272"/>
264 264   <y:Fill color="#FFCC00" transparent="false"/>
265 265   <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
266 - <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="33.40234375" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="426.173828125" x="18.553085937499986" xml:space="preserve" y="5.338828124999964">Выставляет небольшую задержку, чтобы если поступит новое сообщение,
267 -то воркер и так скорее всего выполняется и смысла запроса нет.<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
319 + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="48.103515625" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="212.65234375" x="17.013828125000003" xml:space="preserve" y="21.428242187500018">Пробуждает родительский процесс.
320 +Но это произойдет позже,
321 +чем это сделал бы основной триггер.<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
268 268   <y:Shape type="ellipse"/>
269 269   </y:ShapeNode>
270 270   </data>
271 271   </node>
272 - <node id="n19">
326 + <node id="n23">
273 273   <data key="d5"/>
274 274   <data key="d6">
275 275   <y:ShapeNode>
276 - <y:Geometry height="30.0" width="210.80000000000007" x="666.2040000000017" y="677.216000000002"/>
330 + <y:Geometry height="145.68000000000006" width="374.863999999998" x="-152.31599999999548" y="583.4199999999998"/>
277 277   <y:Fill color="#FFCC00" transparent="false"/>
278 278   <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
279 - <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="121.123046875" x="44.83847656249998" xml:space="preserve" y="5.6494140625">Засыпание процесса<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
333 + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="48.103515625" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="414.91796875" x="-20.026984375001007" xml:space="preserve" y="48.78824218750003">Обнаружил что все дочерние процессы выполнены,
334 +но родительский процесс спит и давно не брался в обработку.
335 +Считает, что были утеряны TriggerEvent, поэтому необходимо пробудить<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
336 + <y:Shape type="diamond"/>
337 + </y:ShapeNode>
338 + </data>
339 + </node>
340 + <node id="n24">
341 + <data key="d5"/>
342 + <data key="d6">
343 + <y:ShapeNode>
344 + <y:Geometry height="30.0" width="30.0" x="334.28000000000156" y="815.2720000000006"/>
345 + <y:Fill color="#FFFFFF" transparent="false"/>
346 + <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
347 + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="4.0" x="13.0" y="13.0">
348 + <y:LabelModel>
349 + <y:SmartNodeLabelModel distance="4.0"/>
350 + </y:LabelModel>
351 + <y:ModelParameter>
352 + <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
353 + </y:ModelParameter>
354 + </y:NodeLabel>
280 280   <y:Shape type="ellipse"/>
281 281   </y:ShapeNode>
282 282   </data>
283 283   </node>
284 - <edge id="e0" source="n4" target="n5">
359 + <node id="n25">
360 + <data key="d5"/>
361 + <data key="d6">
362 + <y:GenericNode configuration="BevelNode">
363 + <y:Geometry height="30.0" width="374.863999999998" x="-367.3099619999952" y="347.48799999999983"/>
364 + <y:Fill color="#FF9900" transparent="false"/>
365 + <y:BorderStyle hasColor="false" type="line" width="1.0"/>
366 + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="33.40234375" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="364.603515625" x="5.130242187498993" xml:space="preserve" y="-1.701171875">Запускается периодически и использует более тяжелый запрос.
367 +Проверяет всю таблицу или индекс.<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
368 + </y:GenericNode>
369 + </data>
370 + </node>
371 + <edge id="e0" source="n4" target="n2">
285 285   <data key="d9"/>
286 286   <data key="d10">
287 287   <y:PolyLineEdge>
... ... @@ -303,7 +303,7 @@
303 303   </y:PolyLineEdge>
304 304   </data>
305 305   </edge>
306 - <edge id="e2" source="n3" target="n4">
393 + <edge id="e2" source="n3" target="n7">
307 307   <data key="d9"/>
308 308   <data key="d10">
309 309   <y:PolyLineEdge>
... ... @@ -314,7 +314,7 @@
314 314   </y:PolyLineEdge>
315 315   </data>
316 316   </edge>
317 - <edge id="e3" source="n4" target="n7">
404 + <edge id="e3" source="n8" target="n6">
318 318   <data key="d9"/>
319 319   <data key="d10">
320 320   <y:PolyLineEdge>
... ... @@ -325,11 +325,22 @@
325 325   </y:PolyLineEdge>
326 326   </data>
327 327   </edge>
328 - <edge id="e4" source="n1" target="n5">
415 + <edge id="e4" source="n7" target="n12">
329 329   <data key="d9"/>
330 330   <data key="d10">
331 331   <y:PolyLineEdge>
332 332   <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
420 + <y:LineStyle color="#000000" type="line" width="1.0"/>
421 + <y:Arrows source="none" target="standard"/>
422 + <y:BendStyle smoothed="false"/>
423 + </y:PolyLineEdge>
424 + </data>
425 + </edge>
426 + <edge id="e5" source="n1" target="n7">
427 + <data key="d9"/>
428 + <data key="d10">
429 + <y:PolyLineEdge>
430 + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
333 333   <y:LineStyle color="#000000" type="dashed" width="1.0"/>
334 334   <y:Arrows source="none" target="standard"/>
335 335   <y:BendStyle smoothed="false"/>
... ... @@ -336,10 +336,24 @@
336 336   </y:PolyLineEdge>
337 337   </data>
338 338   </edge>
339 - <edge id="e5" source="n0" target="n8">
437 + <edge id="e6" source="n9" target="n10">
340 340   <data key="d9"/>
341 341   <data key="d10">
342 342   <y:PolyLineEdge>
441 + <y:Path sx="0.0" sy="0.0" tx="42.1080000000004" ty="0.0">
442 + <y:Point x="711.5160000000021" y="683.78"/>
443 + <y:Point x="711.5160000000021" y="770.2720000000005"/>
444 + </y:Path>
445 + <y:LineStyle color="#000000" type="line" width="1.0"/>
446 + <y:Arrows source="none" target="standard"/>
447 + <y:BendStyle smoothed="false"/>
448 + </y:PolyLineEdge>
449 + </data>
450 + </edge>
451 + <edge id="e7" source="n10" target="n11">
452 + <data key="d9"/>
453 + <data key="d10">
454 + <y:PolyLineEdge>
343 343   <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
344 344   <y:LineStyle color="#000000" type="line" width="1.0"/>
345 345   <y:Arrows source="none" target="standard"/>
... ... @@ -347,25 +347,68 @@
347 347   </y:PolyLineEdge>
348 348   </data>
349 349   </edge>
350 - <edge id="e6" source="n6" target="n8">
462 + <edge id="e8" source="n12" target="n8">
351 351   <data key="d9"/>
352 352   <data key="d10">
353 353   <y:PolyLineEdge>
354 354   <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
355 - <y:LineStyle color="#000000" type="dashed" width="1.0"/>
467 + <y:LineStyle color="#000000" type="line" width="1.0"/>
356 356   <y:Arrows source="none" target="standard"/>
357 357   <y:BendStyle smoothed="false"/>
358 358   </y:PolyLineEdge>
359 359   </data>
360 360   </edge>
361 - <edge id="e7" source="n13" target="n12">
473 + <edge id="e9" source="n13" target="n15">
362 362   <data key="d9"/>
363 363   <data key="d10">
364 364   <y:PolyLineEdge>
477 + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
478 + <y:LineStyle color="#000000" type="line" width="1.0"/>
479 + <y:Arrows source="none" target="standard"/>
480 + <y:BendStyle smoothed="false"/>
481 + </y:PolyLineEdge>
482 + </data>
483 + </edge>
484 + <edge id="e10" source="n5" target="n19">
485 + <data key="d9"/>
486 + <data key="d10">
487 + <y:PolyLineEdge>
488 + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
489 + <y:LineStyle color="#000000" type="line" width="1.0"/>
490 + <y:Arrows source="none" target="standard"/>
491 + <y:BendStyle smoothed="false"/>
492 + </y:PolyLineEdge>
493 + </data>
494 + </edge>
495 + <edge id="e11" source="n0" target="n4">
496 + <data key="d9"/>
497 + <data key="d10">
498 + <y:PolyLineEdge>
499 + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
500 + <y:LineStyle color="#000000" type="line" width="1.0"/>
501 + <y:Arrows source="none" target="standard"/>
502 + <y:BendStyle smoothed="false"/>
503 + </y:PolyLineEdge>
504 + </data>
505 + </edge>
506 + <edge id="e12" source="n3" target="n11">
507 + <data key="d9"/>
508 + <data key="d10">
509 + <y:PolyLineEdge>
365 365   <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0">
366 - <y:Point x="1238.3762880000015" y="397.053728000002"/>
367 - <y:Point x="1238.3762880000015" y="571.7360000000022"/>
511 + <y:Point x="349.28000000000156" y="523.7299999999999"/>
368 368   </y:Path>
513 + <y:LineStyle color="#000000" type="dashed" width="1.0"/>
514 + <y:Arrows source="none" target="standard"/>
515 + <y:BendStyle smoothed="false"/>
516 + </y:PolyLineEdge>
517 + </data>
518 + </edge>
519 + <edge id="e13" source="n15" target="n16">
520 + <data key="d9"/>
521 + <data key="d10">
522 + <y:PolyLineEdge>
523 + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
369 369   <y:LineStyle color="#000000" type="line" width="1.0"/>
370 370   <y:Arrows source="none" target="standard"/>
371 371   <y:BendStyle smoothed="false"/>
... ... @@ -372,7 +372,7 @@
372 372   </y:PolyLineEdge>
373 373   </data>
374 374   </edge>
375 - <edge id="e8" source="n12" target="n11">
530 + <edge id="e14" source="n10" target="n18">
376 376   <data key="d9"/>
377 377   <data key="d10">
378 378   <y:PolyLineEdge>
... ... @@ -383,7 +383,7 @@
383 383   </y:PolyLineEdge>
384 384   </data>
385 385   </edge>
386 - <edge id="e9" source="n13" target="n12">
541 + <edge id="e15" source="n8" target="n17">
387 387   <data key="d9"/>
388 388   <data key="d10">
389 389   <y:PolyLineEdge>
... ... @@ -394,11 +394,22 @@
394 394   </y:PolyLineEdge>
395 395   </data>
396 396   </edge>
397 - <edge id="e10" source="n10" target="n13">
552 + <edge id="e16" source="n19" target="n6">
398 398   <data key="d9"/>
399 399   <data key="d10">
400 400   <y:PolyLineEdge>
401 401   <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
557 + <y:LineStyle color="#000000" type="dashed" width="1.0"/>
558 + <y:Arrows source="none" target="standard"/>
559 + <y:BendStyle smoothed="false"/>
560 + </y:PolyLineEdge>
561 + </data>
562 + </edge>
563 + <edge id="e17" source="n4" target="n19">
564 + <data key="d9"/>
565 + <data key="d10">
566 + <y:PolyLineEdge>
567 + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
402 402   <y:LineStyle color="#000000" type="line" width="1.0"/>
403 403   <y:Arrows source="none" target="standard"/>
404 404   <y:BendStyle smoothed="false"/>
... ... @@ -405,7 +405,7 @@
405 405   </y:PolyLineEdge>
406 406   </data>
407 407   </edge>
408 - <edge id="e11" source="n12" target="n15">
574 + <edge id="e18" source="n6" target="n14">
409 409   <data key="d9"/>
410 410   <data key="d10">
411 411   <y:PolyLineEdge>
... ... @@ -416,7 +416,7 @@
416 416   </y:PolyLineEdge>
417 417   </data>
418 418   </edge>
419 - <edge id="e12" source="n8" target="n15">
585 + <edge id="e19" source="n14" target="n9">
420 420   <data key="d9"/>
421 421   <data key="d10">
422 422   <y:PolyLineEdge>
... ... @@ -427,7 +427,7 @@
427 427   </y:PolyLineEdge>
428 428   </data>
429 429   </edge>
430 - <edge id="e13" source="n19" target="n16">
596 + <edge id="e20" source="n9" target="n10">
431 431   <data key="d9"/>
432 432   <data key="d10">
433 433   <y:PolyLineEdge>
... ... @@ -438,7 +438,7 @@
438 438   </y:PolyLineEdge>
439 439   </data>
440 440   </edge>
441 - <edge id="e14" source="n15" target="n9">
607 + <edge id="e21" source="n20" target="n23">
442 442   <data key="d9"/>
443 443   <data key="d10">
444 444   <y:PolyLineEdge>
... ... @@ -449,13 +449,13 @@
449 449   </y:PolyLineEdge>
450 450   </data>
451 451   </edge>
452 - <edge id="e15" source="n12" target="n13">
618 + <edge id="e22" source="n23" target="n22">
453 453   <data key="d9"/>
454 454   <data key="d10">
455 455   <y:PolyLineEdge>
456 456   <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0">
457 - <y:Point x="806.244000000001" y="545.1420000000005"/>
458 - <y:Point x="806.244000000001" y="402.653728000002"/>
623 + <y:Point x="268.45628800000253" y="656.2599999999999"/>
624 + <y:Point x="268.45628800000253" y="815.3849599999996"/>
459 459   </y:Path>
460 460   <y:LineStyle color="#000000" type="line" width="1.0"/>
461 461   <y:Arrows source="none" target="standard"/>
... ... @@ -463,7 +463,7 @@
463 463   </y:PolyLineEdge>
464 464   </data>
465 465   </edge>
466 - <edge id="e16" source="n18" target="n17">
632 + <edge id="e23" source="n22" target="n21">
467 467   <data key="d9"/>
468 468   <data key="d10">
469 469   <y:PolyLineEdge>
... ... @@ -474,7 +474,7 @@
474 474   </y:PolyLineEdge>
475 475   </data>
476 476   </edge>
477 - <edge id="e17" source="n5" target="n0">
643 + <edge id="e24" source="n11" target="n24">
478 478   <data key="d9"/>
479 479   <data key="d10">
480 480   <y:PolyLineEdge>
... ... @@ -485,14 +485,11 @@
485 485   </y:PolyLineEdge>
486 486   </data>
487 487   </edge>
488 - <edge id="e18" source="n18" target="n5">
654 + <edge id="e25" source="n22" target="n24">
489 489   <data key="d9"/>
490 490   <data key="d10">
491 491   <y:PolyLineEdge>
492 - <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0">
493 - <y:Point x="142.1920000000003" y="545.529000000002"/>
494 - <y:Point x="142.1920000000003" y="391.66200000000015"/>
495 - </y:Path>
658 + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
496 496   <y:LineStyle color="#000000" type="line" width="1.0"/>
497 497   <y:Arrows source="none" target="standard"/>
498 498   <y:BendStyle smoothed="false"/>
... ... @@ -499,7 +499,7 @@
499 499   </y:PolyLineEdge>
500 500   </data>
501 501   </edge>
502 - <edge id="e19" source="n0" target="n18">
665 + <edge id="e26" source="n24" target="n13">
503 503   <data key="d9"/>
504 504   <data key="d10">
505 505   <y:PolyLineEdge>
... ... @@ -510,24 +510,26 @@
510 510   </y:PolyLineEdge>
511 511   </data>
512 512   </edge>
513 - <edge id="e20" source="n9" target="n19">
676 + <edge id="e27" source="n23" target="n22">
514 514   <data key="d9"/>
515 515   <data key="d10">
516 516   <y:PolyLineEdge>
517 - <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
518 - <y:LineStyle color="#000000" type="line" width="1.0"/>
680 + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0">
681 + <y:Point x="35.11600000000351" y="756.3596787499998"/>
682 + </y:Path>
683 + <y:LineStyle color="#000000" type="dashed" width="1.0"/>
519 519   <y:Arrows source="none" target="standard"/>
520 520   <y:BendStyle smoothed="false"/>
521 521   </y:PolyLineEdge>
522 522   </data>
523 523   </edge>
524 - <edge id="e21" source="n19" target="n8">
689 + <edge id="e28" source="n22" target="n23">
525 525   <data key="d9"/>
526 526   <data key="d10">
527 527   <y:PolyLineEdge>
528 - <y:Path sx="-104.15249999999969" sy="0.0" tx="0.0" ty="0.0">
529 - <y:Point x="646.651500000002" y="692.216000000002"/>
530 - <y:Point x="646.651500000002" y="470.7595000000003"/>
693 + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0">
694 + <y:Point x="-231.5759619999974" y="830.942272"/>
695 + <y:Point x="-231.5759619999974" y="656.2599999999999"/>
531 531   </y:Path>
532 532   <y:LineStyle color="#000000" type="line" width="1.0"/>
533 533   <y:Arrows source="none" target="standard"/>
Родительский дочерний процесс. Sequence.jpg
Размер
... ... @@ -1,1 +1,1 @@
1 -247.1 KB
1 +31.6 KB
Содержимое