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

10/14 01:46
阅读数 0

问题:

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
展开阅读全文
打赏
0
0 收藏
分享
加载中
更多评论
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部