Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
e

TurnFailed

enum TurnFailed(lifecycle: ConnectedLifecycleContext, turnId: Long, commandId: Option[Long], kind: LifecycleTurnKind, durationNanos: Long, error: LifecycleError) extends LifecycleEvent

A connected turn failed.

Parameters

lifecycle

The lifecycle that ran the turn.

turnId

The ID of the turn, unique within the server process.

commandId

The ID of the command that started the turn, or None for the bootstrap turn and turns that Scalive starts itself.

kind

The source of the work the turn processed.

durationNanos

The time from the start of the turn until the failure, in nanoseconds.

error

The failure and, for a stage failure, the stage where it happened.

Defined by scalive.LifecycleEvent.TurnFailed. View source (scalive/api/src/scalive/LifecycleObserver.scala:439-445)

Values6

commandId

val commandId: Option[Long]

The ID of the command that started the turn, or None for the bootstrap turn and turns that Scalive starts itself.

Defined by scalive.LifecycleEvent.TurnFailed.commandId. View source (scalive/api/src/scalive/LifecycleObserver.scala:442-442)

durationNanos

val durationNanos: Long

The time from the start of the turn until the failure, in nanoseconds.

Defined by scalive.LifecycleEvent.TurnFailed.durationNanos. View source (scalive/api/src/scalive/LifecycleObserver.scala:444-444)

error

val error: LifecycleError

The failure and, for a stage failure, the stage where it happened.

Defined by scalive.LifecycleEvent.TurnFailed.error. View source (scalive/api/src/scalive/LifecycleObserver.scala:445-445)

kind

val kind: LifecycleTurnKind

The source of the work the turn processed.

Defined by scalive.LifecycleEvent.TurnFailed.kind. View source (scalive/api/src/scalive/LifecycleObserver.scala:443-443)

lifecycle

val lifecycle: ConnectedLifecycleContext

The lifecycle that ran the turn.

Defined by scalive.LifecycleEvent.TurnFailed.lifecycle. View source (scalive/api/src/scalive/LifecycleObserver.scala:440-440)

turnId

val turnId: Long

The ID of the turn, unique within the server process.

Defined by scalive.LifecycleEvent.TurnFailed.turnId. View source (scalive/api/src/scalive/LifecycleObserver.scala:441-441)