TurnFailed
enum TurnFailed(lifecycle: ConnectedLifecycleContext, turnId: Long, commandId: Option[Long], kind: LifecycleTurnKind, durationNanos: Long, error: LifecycleError) extends LifecycleEventA connected turn failed.
Parameters
lifecycleThe lifecycle that ran the turn.
turnIdThe ID of the turn, unique within the server process.
commandIdThe ID of the command that started the turn, or
Nonefor the bootstrap turn and turns that Scalive starts itself.kindThe source of the work the turn processed.
durationNanosThe time from the start of the turn until the failure, in nanoseconds.
errorThe 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: LongThe 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: LifecycleErrorThe 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: LifecycleTurnKindThe 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: ConnectedLifecycleContextThe lifecycle that ran the turn.
Defined by scalive.LifecycleEvent.TurnFailed.lifecycle. View source (scalive/api/src/scalive/LifecycleObserver.scala:440-440)
turnId
val turnId: LongThe 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)