Reason for the shutdown, which can be used by tasks in case they need to do different things depending on what caused the shutdown.
Reason for the shutdown, which can be used by tasks in case they need to do different things depending on what caused the shutdown. There are some predefined reasons, but external libraries applications may also define other reasons.
Scala API: The shutdown was initiated by Cluster downing.
Scala API: The shutdown was initiated by a failure to join a seed node.
Scala API: The shutdown was initiated by Cluster leaving.
Scala API: The shutdown was initiated by a configuration clash within the existing cluster and the joining node
Scala API: The shutdown was initiated by a JVM shutdown hook, e.g.
Scala API: The shutdown was initiated by a JVM shutdown hook, e.g. triggered by SIGTERM.
Last phase.
Last phase. See terminate-actor-system and exit-jvm above. Don't add phases that depends on this phase because the dispatcher and scheduler of the ActorSystem have been shutdown.
Phase for custom application tasks that are to be run after cluster shutdown and before ActorSystem termination.
Phase for custom application tasks that are to be run after service shutdown and before cluster shutdown.
The first pre-defined phase that applications can add tasks to.
The first pre-defined phase that applications can add tasks to. Note that more phases can be added in the application's configuration by overriding this phase with an additional depends-on.
Shutdown cluster singletons
Wait until exiting has been completed
Emit the leave command for the node that is shutting down.
Graceful shutdown of the Cluster Sharding regions.
Shutdown the cluster extension
Wait for requests that are in progress to be completed.
Final shutdown of service endpoints.
Stop accepting new incoming requests in for example HTTP.
Scala API: The reason for the shutdown was unknown.
Scala API: The reason for the shutdown was unknown. Needed for backwards compatibility.
Returns an instance of the extension identified by this ExtensionId instance.
Returns an instance of the extension identified by this ExtensionId instance.
Java API: The shutdown was initiated by Cluster downing.
Java API: The shutdown was initiated by a failure to join a seed node.
Java API: The shutdown was initiated by Cluster leaving.
Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.
Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.
Returns an instance of the extension identified by this ExtensionId instance.
Returns an instance of the extension identified by this ExtensionId instance. Java API For extensions written in Scala that are to be used from Java also, this method should be overridden to get correct return type.
override def get(system: ActorSystem): TheExtension = super.get(system)
Java API: The shutdown was initiated by a configuration clash within the existing cluster and the joining node
Java API: The shutdown was initiated by a JVM shutdown hook, e.g.
Java API: The shutdown was initiated by a JVM shutdown hook, e.g. triggered by SIGTERM.
Returns the canonical ExtensionId for this Extension
Returns the canonical ExtensionId for this Extension
Java API: The reason for the shutdown was unknown.
Java API: The reason for the shutdown was unknown. Needed for backwards compatibility.