The Artima Developer Community
Sponsored Link

Akka Concurrency Forum
8.5 - IsolatedLifecycleSupervisor

1 reply on 1 page. Most recent reply: Dec 16, 2013 11:19 AM by Derek Wyatt

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Eric Pederson

Posts: 12
Nickname: 71552
Registered: Apr, 2010

8.5 - IsolatedLifecycleSupervisor Posted: Dec 16, 2013 11:03 AM
Reply to this message Reply
Advertisement
In "An IsolatedLifecycleSupervisor" it says "The IsolatedLifeCycleSupervisor will provide us with a supervisor’s base functionality that lets children survive the supervisor’s own restarts, as well as provide some extra plumbing to make that happen."

I was reading Roland Kuhn's answer to a StackOverflow question (http://stackoverflow.com/questions/20528411/prevent-akka-actor-from-restarting-child-actor) and verified that even if the parent extends IsolatedResumeSupervisor with OneForOneStrategyFactory, the children get restarted if the parent restarts.

This might be recent functionality in Akka - I was using Akka 2.2.3.


Derek Wyatt

Posts: 69
Nickname: dwyatt
Registered: Oct, 2012

Re: 8.5 - IsolatedLifecycleSupervisor Posted: Dec 16, 2013 11:19 AM
Reply to this message Reply
Yes, I believe that's an error in the book (and I'm not sure how it's still there -- I was hands-off the manuscript almost a year ago so my memory's not great on the nuances). There's a note previous to that page that explicitly declares that there's "no way out", but this pattern is in contradiction to that statement.

Flat View: This topic has 1 reply on 1 page
Topic: Deprecated actorFor? Previous Topic   Next Topic Topic: ImplicitSender

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use