How to escalate top-most supervisors in Akka?
问题 I have the following top-level (“parent-most”) actor: // Groovy pseudo-code class Master extends UntypedActor { ActorRef child1 ActorRef child2 ActorRef child3 ActorRef backup @Override void onReceive(Object message) throws Exception { if(message instanceof Terminated) { Terminated terminated = message as Terminated if(terminated.actor != backup) { terminated.actor = backup } else { // TODO: What to do here? How to escalate from here? } } else { child1.tell(new DoSomething(message), getSelf()