Package akka.actor

Class CoordinatedShutdown$

    • Field Detail

      • MODULE$

        public static final CoordinatedShutdown$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • CoordinatedShutdown$

        public CoordinatedShutdown$()
    • Method Detail

      • PhaseBeforeServiceUnbind

        public java.lang.String PhaseBeforeServiceUnbind()
      • PhaseServiceUnbind

        public java.lang.String PhaseServiceUnbind()
        Stop accepting new incoming requests in for example HTTP.
        Returns:
        (undocumented)
      • PhaseServiceRequestsDone

        public java.lang.String PhaseServiceRequestsDone()
        Wait for requests that are in progress to be completed.
        Returns:
        (undocumented)
      • PhaseServiceStop

        public java.lang.String PhaseServiceStop()
        Final shutdown of service endpoints.
        Returns:
        (undocumented)
      • PhaseBeforeClusterShutdown

        public java.lang.String PhaseBeforeClusterShutdown()
        Phase for custom application tasks that are to be run after service shutdown and before cluster shutdown.
        Returns:
        (undocumented)
      • PhaseClusterShardingShutdownRegion

        public java.lang.String PhaseClusterShardingShutdownRegion()
        Graceful shutdown of the Cluster Sharding regions.
        Returns:
        (undocumented)
      • PhaseClusterLeave

        public java.lang.String PhaseClusterLeave()
        Emit the leave command for the node that is shutting down.
        Returns:
        (undocumented)
      • PhaseClusterExiting

        public java.lang.String PhaseClusterExiting()
        Shutdown cluster singletons
        Returns:
        (undocumented)
      • PhaseClusterExitingDone

        public java.lang.String PhaseClusterExitingDone()
        Wait until exiting has been completed
        Returns:
        (undocumented)
      • PhaseClusterShutdown

        public java.lang.String PhaseClusterShutdown()
        Shutdown the cluster extension
        Returns:
        (undocumented)
      • PhaseBeforeActorSystemTerminate

        public java.lang.String PhaseBeforeActorSystemTerminate()
        Phase for custom application tasks that are to be run after cluster shutdown and before ActorSystem termination.
        Returns:
        (undocumented)
      • PhaseActorSystemTerminate

        public java.lang.String PhaseActorSystemTerminate()
        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.
        Returns:
        (undocumented)
      • get

        public CoordinatedShutdown get​(ActorSystem system)
        Description copied from interface: ExtensionId
        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)
         

        Specified by:
        get in interface ExtensionId<CoordinatedShutdown>
        Parameters:
        system - (undocumented)
        Returns:
        (undocumented)
      • confWithOverrides

        public com.typesafe.config.Config confWithOverrides​(com.typesafe.config.Config conf,
                                                            scala.Option<CoordinatedShutdown.Reason> reason)
      • phasesFromConfig

        public scala.collection.immutable.Map<java.lang.String,​CoordinatedShutdown.Phase> phasesFromConfig​(com.typesafe.config.Config conf)
      • topologicalSort

        public scala.collection.immutable.List<java.lang.String> topologicalSort​(scala.collection.immutable.Map<java.lang.String,​CoordinatedShutdown.Phase> phases)
        INTERNAL API: https://en.wikipedia.org/wiki/Topological_sorting
        Parameters:
        phases - (undocumented)
        Returns:
        (undocumented)