github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/docs/actor-system.wsd (about) 1 @startuml Actor System 2 3 interface Mailbox { 4 + Send() 5 + SendB() 6 - tryReceive() 7 } 8 9 interface Actor { 10 + Poll() 11 } 12 13 class proc { 14 - Mailbox 15 - Actor 16 } 17 18 class Router { 19 - ready 20 - procs 21 } 22 23 class System { 24 - ready 25 } 26 27 class ready { 28 - schedule() 29 } 30 31 proc::Mailbox --> Mailbox 32 proc::Actor --> Actor 33 Router::ready --> ready 34 Router::procs --> proc 35 System::ready --> ready 36 37 @enduml