Thanks for the reply! Thanks for the correction about stale ActorRefs. But the statement holds true if I kill the actor and replace it with something else on the same path right? (like switching a service at runtime).
Best Regards Måns Schultz 2014-07-07 12:16 GMT+02:00 Heiko Seeberger <[email protected]>: > I like this idea! > > Just a side note: Restarting an actor won’t lead to a stale ActorRef; the > opposite is the case! > > Heiko > > On 07 Jul 2014, at 09:19, Måns Schultz <[email protected]> wrote: > > Hello and thanks again for an excellent framework. > > I'm have a minor question about schedulers. As ActorRefs are somewhat > harder to lookup these days it would be really sweet if the Scheduler > interface could have a schedule method that takes an ActorSelection. Also > as I understand the ActorRef this would also allow you to schedule without > worrying about actor restarts (since an ActorRef can become stale) and > schedule messages to groups of actors. Would this make the interface too > bloated or is the entire concept of scheduling to ActorSelections a bad > idea? I see that the ActorRef method has a stop condition > (receiver.isTerminated) which I guess would be hard to replicate for > selections. > > All this can ofcourse be accomplished using anonymous Runnables, would > just be nice to avoid it if there are no outstanding issues. > > Best Regards > > Måns Schultz > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: > http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > > > > -- > > Heiko Seeberger > Twitter: @hseeberger > Web: heikoseeberger.de > > > > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: > http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
