Hi Chris, already exists: http://doc.akka.io/japi/akka/2.3.1/akka/actor/OneForOneStrategy.html#OneForOneStrategy(int, scala.concurrent.duration.Duration, akka.japi.Function)
On Mon, Apr 7, 2014 at 10:25 PM, Chris Curtin <[email protected]>wrote: > Hi, > > Anyone have an example SupervisoryStrategy that is implemented in Java? > > We want to be able to detect when Akka doesn't restart a child after it > fails 'x times in y minutes' and the 'handleChildTerminated' looks like the > correct place. (We want to alert production operations that something major > is going wrong.) > > First, is that the method that gets called when the 'x in y minutes' logic > fires? If not, where can I find out that this happened? > > Second, any Java examples? Found a few Scala examples but I'm struggling > with how to extend a Scala class in Java. > > Thanks, > > Chris > > > -- > >>>>>>>>>> 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. > -- Cheers, √ -- >>>>>>>>>> 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.
