o

akka.stream

Supervision

object Supervision

Source
Supervision.scala
Linear Supertypes
Content Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Supervision
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type Decider = (Throwable) => Directive
  2. sealed trait Directive extends AnyRef

Value Members

  1. val getRestartingDecider: Function[Throwable, Directive]

    Java API: Decider function that returns #restart for all exceptions.

  2. val getResumingDecider: Function[Throwable, Directive]

    Java API: Decider function that returns #resume for all exceptions.

  3. val getStoppingDecider: Function[Throwable, Directive]

    Java API: Decider function that returns #stop for all exceptions.

  4. def restart: Restart

    Java API: The element is dropped and the stream continues after restarting the operator if application code for processing an element throws an exception.

    Java API: The element is dropped and the stream continues after restarting the operator if application code for processing an element throws an exception. Restarting an operator means that any accumulated state is cleared. This is typically performed by creating a new instance of the operator.

  5. val restartingDecider: with Function[Throwable, Directive]

    Scala API: that returns Restart for all exceptions.

  6. def resume: Resume

    Java API: The element is dropped and the stream continues if application code for processing an element throws an exception.

  7. val resumingDecider: with Function[Throwable, Directive]

    Scala API: that returns Resume for all exceptions.

  8. def stop: Stop

    Java API: The stream will be completed with failure if application code for processing an element throws an exception.

  9. val stoppingDecider: with Function[Throwable, Directive]

    Scala API: that returns Stop for all exceptions.

  10. case object Restart extends with Product with Serializable

    Scala API: The element is dropped and the stream continues after restarting the operator if application code for processing an element throws an exception.

    Scala API: The element is dropped and the stream continues after restarting the operator if application code for processing an element throws an exception. Restarting an operator means that any accumulated state is cleared. This is typically performed by creating a new instance of the operator.

  11. case object Resume extends with Product with Serializable

    Scala API: The element is dropped and the stream continues if application code for processing an element throws an exception.

  12. case object Stop extends with Product with Serializable

    Scala API: The stream will be completed with failure if application code for processing an element throws an exception.