Skip to content
iilyak edited this page Mar 12, 2015 · 1 revision
@startuml
sup --> handlers_sup
sup --> registry
sup --> table_keeper

sup: one_for_one
handlers_sup: simple_one_for_one

state registry {
  registry: owner of named as Engine ets table
  registry -right-> table_keeper: MONITOR
  registry : registered process with name Engine
  registry: creates monitor to table_keeper
}

state handlers {
  handlers: registered processes with name Type
  handlers_sup --> handler1
  handlers_sup --> handlerN
}

state table_keeper {
  table_keeper: is a standby process to inherit ets table (heir)
}

state Legend {
  Legend: Engine - name passed in plugerl:start_link
  Legend: Type - name passed in plugerl:start_plugin
}
@enduml
Clone this wiki locally