object Supervision
- Alphabetic
- By Inheritance
- Supervision
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
val
getRestartingDecider: Function[Throwable, Directive]
Java API: Decider function that returns #restart for all exceptions.
-
val
getResumingDecider: Function[Throwable, Directive]
Java API: Decider function that returns #resume for all exceptions.
-
val
getStoppingDecider: Function[Throwable, Directive]
Java API: Decider function that returns #stop for all exceptions.
-
def
restart: Restart.type
Java API: The element is dropped and the stream continues after restarting the stage if application code for processing an element throws an exception.
Java API: The element is dropped and the stream continues after restarting the stage if application code for processing an element throws an exception. Restarting a stage means that any accumulated state is cleared. This is typically performed by creating a new instance of the stage.
- val restartingDecider: Decider with Function[Throwable, Directive]
-
def
resume: Resume.type
Java API: The element is dropped and the stream continues if application code for processing an element throws an exception.
- val resumingDecider: Decider with Function[Throwable, Directive]
-
def
stop: Stop.type
Java API: The stream will be completed with failure if application code for processing an element throws an exception.
- val stoppingDecider: Decider with Function[Throwable, Directive]
-
object
Restart
extends Directive with Product with Serializable
Scala API: The element is dropped and the stream continues after restarting the stage if application code for processing an element throws an exception.
Scala API: The element is dropped and the stream continues after restarting the stage if application code for processing an element throws an exception. Restarting a stage means that any accumulated state is cleared. This is typically performed by creating a new instance of the stage.
-
object
Resume
extends Directive with Product with Serializable
Scala API: The element is dropped and the stream continues if application code for processing an element throws an exception.
-
object
Stop
extends Directive with Product with Serializable
Scala API: The stream will be completed with failure if application code for processing an element throws an exception.