Akka Kill vs. Stop vs. Poison Pill? - Akka Kill vs. Stop vs. Poison Pill?

問題:

Newbie question of Akka - I'm reading over Akka Essentials, could someone please explain the difference between Akka Stop/Poison Pill vs. Kill ? Akka 的新手問題 - 我正在閱讀 Akka Essentials,有人可以解釋 Akka Stop/Poison Pill 與 Kill 之間的區別嗎? The book offers just a small explaination "Kill is synchronous vs. Poison pill is asynchronous."這本書只提供了一個小小的解釋“殺戮是同步的,而毒丸是異步的。” But in what way?但以什麼方式? Does the calling actor thread lock during this time?在此期間調用actor 線程是否鎖定? Are the children actors notified during kill, post-stop envoked, etc?兒童演員是否在殺戮、停止後召喚等過程中得到通知? Example uses of one concept vs. the other?一個概念與另一個概念的示例用法?

Many thanks!非常感謝!


解決方案:

參考一: https://en.stackoom.com/question/w6UF
參考二: https://stackoom.com/question/w6UF
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章