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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章