Packages

object CoordinatedShutdown extends ExtensionId[CoordinatedShutdown] with ExtensionIdProvider

Source
CoordinatedShutdown.scala
Content Hierarchy
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. Protected

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 actorSystemTerminateReason: Reason

    Java API: The shutdown was initiated by ActorSystem.terminate.

  17. def apply(system: ClassicActorSystemProvider): 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
  18. 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
  19. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  20. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  21. def clusterDowningReason: Reason

    Java API: The shutdown was initiated by Cluster downing.

  22. def clusterJoinUnsuccessfulReason: Reason

    Java API: The shutdown was initiated by a failure to join a seed node.

  23. def clusterLeavingReason: Reason

    Java API: The shutdown was initiated by Cluster leaving.

  24. 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
  25. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def equals(other: Any): Boolean
    Definition Classes
    ExtensionId → AnyRef → Any
  27. def get(system: ClassicActorSystemProvider): 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: ClassicActorSystemProvider): TheExtension = super.get(system)
    Definition Classes
    CoordinatedShutdownExtensionId
  28. 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
  29. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. final def hashCode(): Int
    Definition Classes
    ExtensionId → AnyRef → Any
  31. def incompatibleConfigurationDetectedReason: Reason

    Java API: The shutdown was initiated by a configuration clash within the existing cluster and the joining node

  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. 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.

  34. def lookup: CoordinatedShutdown

    Returns the canonical ExtensionId for this Extension

    Returns the canonical ExtensionId for this Extension

    Definition Classes
    CoordinatedShutdownExtensionIdProvider
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  38. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. 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.

  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. case object ActorSystemTerminateReason extends Reason with Product with Serializable

    Scala API: The shutdown was initiated by ActorSystem.terminate.

  45. case object ClusterDowningReason extends Reason with Product with Serializable

    Scala API: The shutdown was initiated by Cluster downing.

  46. case object ClusterJoinUnsuccessfulReason extends Reason with Product with Serializable

    Scala API: The shutdown was initiated by a failure to join a seed node.

  47. case object ClusterLeavingReason extends Reason with Product with Serializable

    Scala API: The shutdown was initiated by Cluster leaving.

  48. case object IncompatibleConfigurationDetectedReason extends Reason with Product with Serializable

    Scala API: The shutdown was initiated by a configuration clash within the existing cluster and the joining node

  49. case object JvmExitReason extends Reason with Product with Serializable

    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.

  50. case 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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from ExtensionIdProvider

Inherited from AnyRef

Inherited from Any

Ungrouped