Object/Class

akka.actor

CoordinatedShutdown

Related Docs: class CoordinatedShutdown | package actor

Permalink

object CoordinatedShutdown extends ExtensionId[CoordinatedShutdown] with ExtensionIdProvider

Source
CoordinatedShutdown.scala
Linear Supertypes
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. All

Type Members

  1. trait Reason extends AnyRef

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object ClusterDowningReason extends Reason

    Permalink

    Scala API: The shutdown was initiated by Cluster downing.

  5. object ClusterJoinUnsuccessfulReason extends Reason

    Permalink

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

  6. object ClusterLeavingReason extends Reason

    Permalink

    Scala API: The shutdown was initiated by Cluster leaving.

  7. object IncompatibleConfigurationDetectedReason extends Reason with Product with Serializable

    Permalink

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

  8. object JvmExitReason extends Reason

    Permalink

    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.

  9. val PhaseActorSystemTerminate: String

    Permalink

    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.

  10. val PhaseBeforeActorSystemTerminate: String

    Permalink

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

  11. val PhaseBeforeClusterShutdown: String

    Permalink

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

  12. val PhaseBeforeServiceUnbind: String

    Permalink

    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.

  13. val PhaseClusterExiting: String

    Permalink

    Shutdown cluster singletons

  14. val PhaseClusterExitingDone: String

    Permalink

    Wait until exiting has been completed

  15. val PhaseClusterLeave: String

    Permalink

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

  16. val PhaseClusterShardingShutdownRegion: String

    Permalink

    Graceful shutdown of the Cluster Sharding regions.

  17. val PhaseClusterShutdown: String

    Permalink

    Shutdown the cluster extension

  18. val PhaseServiceRequestsDone: String

    Permalink

    Wait for requests that are in progress to be completed.

  19. val PhaseServiceStop: String

    Permalink

    Final shutdown of service endpoints.

  20. val PhaseServiceUnbind: String

    Permalink

    Stop accepting new incoming requests in for example HTTP.

  21. object UnknownReason extends Reason with Product with Serializable

    Permalink

    Scala API: The reason for the shutdown was unknown.

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

  22. def apply(system: ActorSystem): CoordinatedShutdown

    Permalink

    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
  23. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  24. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. def clusterDowningReason: Reason

    Permalink

    Java API: The shutdown was initiated by Cluster downing.

  26. def clusterJoinUnsuccessfulReason: Reason

    Permalink

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

  27. def clusterLeavingReason: Reason

    Permalink

    Java API: The shutdown was initiated by Cluster leaving.

  28. def createExtension(system: ExtendedActorSystem): CoordinatedShutdown

    Permalink

    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
  29. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. final def equals(other: Any): Boolean

    Permalink
    Definition Classes
    ExtensionId → AnyRef → Any
  31. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  32. def get(system: ActorSystem): CoordinatedShutdown

    Permalink

    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
  33. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  34. final def hashCode(): Int

    Permalink
    Definition Classes
    ExtensionId → AnyRef → Any
  35. def incompatibleConfigurationDetectedReason: Reason

    Permalink

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

  36. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  37. def jvmExitReason: Reason

    Permalink

    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.

  38. def lookup(): CoordinatedShutdown.type

    Permalink

    Returns the canonical ExtensionId for this Extension

    Returns the canonical ExtensionId for this Extension

    Definition Classes
    CoordinatedShutdownExtensionIdProvider
  39. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  40. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  41. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  43. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  44. def unknownReason: Reason

    Permalink

    Java API: The reason for the shutdown was unknown.

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

  45. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ExtensionIdProvider

Inherited from AnyRef

Inherited from Any

Ungrouped