Packages

object CoordinatedShutdown extends ExtensionId[CoordinatedShutdown] with ExtensionIdProvider

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CoordinatedShutdown
  2. ExtensionIdProvider
  3. ExtensionId
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Reason extends AnyRef

    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.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val PhaseActorSystemTerminate: String

    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.

  5. val PhaseBeforeActorSystemTerminate: String

    Phase for custom application tasks that are to be run after cluster shutdown and before ActorSystem termination.

  6. val PhaseBeforeClusterShutdown: String

    Phase for custom application tasks that are to be run after service shutdown and before cluster shutdown.

  7. val PhaseBeforeServiceUnbind: String

    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.

  8. val PhaseClusterExiting: String

    Shutdown cluster singletons

  9. val PhaseClusterExitingDone: String

    Wait until exiting has been completed

  10. val PhaseClusterLeave: String

    Emit the leave command for the node that is shutting down.

  11. val PhaseClusterShardingShutdownRegion: String

    Graceful shutdown of the Cluster Sharding regions.

  12. val PhaseClusterShutdown: String

    Shutdown the cluster extension

  13. val PhaseServiceRequestsDone: String

    Wait for requests that are in progress to be completed.

  14. val PhaseServiceStop: String

    Final shutdown of service endpoints.

  15. val PhaseServiceUnbind: String

    Stop accepting new incoming requests in for example HTTP.

  16. def apply(system: ActorSystem): CoordinatedShutdown

    Returns an instance of the extension identified by this ExtensionId instance.

    Returns an instance of the extension identified by this ExtensionId instance.

    Definition Classes
    ExtensionId
  17. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  18. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  19. def clusterDowningReason: Reason

    Java API: The shutdown was initiated by Cluster downing.

  20. def clusterLeavingReason: Reason

    Java API: The shutdown was initiated by Cluster leaving.

  21. def createExtension(system: ExtendedActorSystem): CoordinatedShutdown

    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.

    Definition Classes
    CoordinatedShutdownExtensionId
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def equals(other: Any): Boolean
    Definition Classes
    ExtensionId → AnyRef → Any
  24. def get(system: ActorSystem): CoordinatedShutdown

    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)
    Definition Classes
    CoordinatedShutdownExtensionId
  25. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def hashCode(): Int
    Definition Classes
    ExtensionId → AnyRef → Any
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. def jvmExitReason: Reason

    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.

  29. def lookup(): CoordinatedShutdown.type

    Returns the canonical ExtensionId for this Extension

    Returns the canonical ExtensionId for this Extension

    Definition Classes
    CoordinatedShutdownExtensionIdProvider
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. def unknownReason: Reason

    Java API: The reason for the shutdown was unknown.

    Java API: The reason for the shutdown was unknown. Needed for backwards compatibility.

  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. object ClusterDowningReason extends Reason

    Scala API: The shutdown was initiated by Cluster downing.

  40. object ClusterLeavingReason extends Reason

    Scala API: The shutdown was initiated by Cluster leaving.

  41. object JvmExitReason extends Reason

    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.

  42. object UnknownReason extends Reason with Product with Serializable

    Scala API: The reason for the shutdown was unknown.

    Scala API: The reason for the shutdown was unknown. Needed for backwards compatibility.

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from ExtensionIdProvider

Inherited from AnyRef

Inherited from Any

Ungrouped