Package akka.actor
Class SystemGuardian
- java.lang.Object
-
- akka.actor.SystemGuardian
-
public class SystemGuardian extends java.lang.Object
For the purpose of orderly shutdown it's possible to register interest in the termination of systemGuardian and receive a notificationTerminationHook
before systemGuardian is stopped. The registered hook is supposed to reply withTerminationHookDone
and the systemGuardian will not stop until all registered hooks have replied.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SystemGuardian.RegisterTerminationHook$
static class
SystemGuardian.TerminationHook$
static class
SystemGuardian.TerminationHookDone$
-
Constructor Summary
Constructors Constructor Description SystemGuardian()
-