The Artima Developer Community
Sponsored Link

Akka Concurrency Forum
8.5 - IsolatedLifecycleSupervisor

1 reply on 1 page. Most recent reply: Dec 16, 2013 2:19 PM 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 2:03 PM
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: 64
Nickname: dwyatt
Registered: Oct, 2012

Re: 8.5 - IsolatedLifecycleSupervisor Posted: Dec 16, 2013 2:19 PM
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: FSM's onTransition, transform and using Previous Topic   Next Topic Topic: Section 8.5, PilotProvider changes


Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2014 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us