Shuts down the provided ActorSystem
asynchronously, starting from the configured phase.
Shuts down the provided ActorSystem
asynchronously, starting from the configured phase.
the actor system to shut down
the reason the actor system is shutting down
a future that completes with Done
when the actor system has fully shut down
Shuts down the provided ActorSystem
synchronously, starting from the configured phase.
Shuts down the provided ActorSystem
synchronously, starting from the configured phase. This method blocks until
the actor system has fully shut down, or the duration exceeds timeouts for all coordinated shutdown phases.
the actor system to shut down
the reason the actor system is shutting down
InterruptedException
if the current thread is interrupted while waiting
TimeoutException
if after waiting for the specified time awaitable
is still not ready
INTERNAL API: provides ways to call Akka's CoordinatedShutdown.
This should not be necessary by user code and it is an internal API subject to change without following our deprecation policy.