java - In AKKA does calling shutdown on a supervisor stop all the actors it's supervising? -


let's have supervisor has linked 2 actors. when app shutsdown want shutdown actors gracefully. calling supervisor.shutdown() stop actors or still need stop actors manually?

gracias

stopping supervisor (calling supervisor.stop()) stops linked (supervised) actors:

final class supervisoractor{ ...    override def poststop(): unit = shutdownlinkedactors 

however, when want shutdown actors in system gracefully, there's proper way that, using actor registry (that holds information actors systemwide):

actor.registry.shutdownall 

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -