summaryrefslogtreecommitdiffstats
path: root/docs/clamp/acm/plantuml/states/SuperviseParticipantsTimeout.puml
blob: 89a7d16af61d1ea3587b6c9e155c710a57c2773a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@startuml

participant ACM_Runtime
database ACM_Database

loop Every ACM_Runtime Supervision Interval
  loop Over all Participants
    ACM_Runtime -> Database: Read Participant Heartbeat Information
    alt Participant Heartbeat not received in Timeout Interval
      ACM_Runtime -> ACM_Database: Set Participant State as OFFLINE
      ACM_Runtime -> ACM_Runtime: Mark all ACM Element Instances\nrunning on Participant as OFFLINE
      activate ACM_Runtime
      deactivate ACM_Runtime
    end
  end
end

@enduml