Package org.apache.pekko.actor
Class CoordinatedShutdown$
java.lang.Object
org.apache.pekko.actor.CoordinatedShutdown$
- All Implemented Interfaces:
ExtensionId<CoordinatedShutdown>,ExtensionIdProvider
public class CoordinatedShutdown$
extends Object
implements ExtensionId<CoordinatedShutdown>, ExtensionIdProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CoordinatedShutdown$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateExtension(ExtendedActorSystem system) Is used by Pekko to instantiate the Extension identified by this ExtensionId, internal use only.get(ActorSystem system) Returns an instance of the extension identified by this ExtensionId instance.get(ClassicActorSystemProvider system) Returns an instance of the extension identified by this ExtensionId instance.lookup()Returns the canonical ExtensionId for this ExtensionLast phase.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.Shutdown cluster singletonsWait until exiting has been completedEmit the leave command for the node that is shutting down.Graceful shutdown of the Cluster Sharding regions.Shutdown the cluster extensionWait for requests that are in progress to be completed.Final shutdown of service endpoints.Stop accepting new incoming requests in for example HTTP.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.actor.ExtensionId
apply, apply, equals, hashCode
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
CoordinatedShutdown$
public CoordinatedShutdown$()
-
-
Method Details
-
PhaseBeforeServiceUnbind
-
PhaseServiceUnbind
Stop accepting new incoming requests in for example HTTP. -
PhaseServiceRequestsDone
Wait for requests that are in progress to be completed. -
PhaseServiceStop
Final shutdown of service endpoints. -
PhaseBeforeClusterShutdown
Phase for custom application tasks that are to be run after service shutdown and before cluster shutdown. -
PhaseClusterShardingShutdownRegion
Graceful shutdown of the Cluster Sharding regions. -
PhaseClusterLeave
Emit the leave command for the node that is shutting down. -
PhaseClusterExiting
Shutdown cluster singletons -
PhaseClusterExitingDone
Wait until exiting has been completed -
PhaseClusterShutdown
Shutdown the cluster extension -
PhaseBeforeActorSystemTerminate
Phase for custom application tasks that are to be run after cluster shutdown and before ActorSystem termination. -
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. -
unknownReason
-
actorSystemTerminateReason
-
jvmExitReason
-
clusterDowningReason
-
clusterJoinUnsuccessfulReason
-
incompatibleConfigurationDetectedReason
-
clusterLeavingReason
-
get
Description copied from interface:ExtensionIdReturns 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:
getin interfaceExtensionId<CoordinatedShutdown>
-
get
Description copied from interface:ExtensionIdReturns 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: ClassicActorSystemProvider): TheExtension = super.get(system)- Specified by:
getin interfaceExtensionId<CoordinatedShutdown>
-
lookup
Description copied from interface:ExtensionIdProviderReturns the canonical ExtensionId for this Extension- Specified by:
lookupin interfaceExtensionIdProvider
-
createExtension
Description copied from interface:ExtensionIdIs used by Pekko to instantiate the Extension identified by this ExtensionId, internal use only.- Specified by:
createExtensionin interfaceExtensionId<CoordinatedShutdown>
-