Package akka.stream
Class Supervision$
- java.lang.Object
-
- akka.stream.Supervision$
-
public class Supervision$ extends java.lang.ObjectScala API: The stream will be completed with failure if application code for processing an element throws an exception.
-
-
Field Summary
Fields Modifier and Type Field Description static Supervision$MODULE$Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description Supervision$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Function<java.lang.Throwable,Supervision.Directive>getRestartingDecider()Java API: Decider function that returnsrestart()for all exceptions.Function<java.lang.Throwable,Supervision.Directive>getResumingDecider()Java API: Decider function that returnsresume()for all exceptions.Function<java.lang.Throwable,Supervision.Directive>getStoppingDecider()Java API: Decider function that returnsstop()for all exceptions.Supervision.Restart$restart()scala.Function1<java.lang.Throwable,Supervision.Directive>restartingDecider()Scala API:Deciderthat returnsRestartfor all exceptions.Supervision.Resume$resume()scala.Function1<java.lang.Throwable,Supervision.Directive>resumingDecider()Scala API:Deciderthat returnsResumefor all exceptions.Supervision.Stop$stop()scala.Function1<java.lang.Throwable,Supervision.Directive>stoppingDecider()Scala API:Deciderthat returnsStopfor all exceptions.
-
-
-
Field Detail
-
MODULE$
public static final Supervision$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
stop
public Supervision.Stop$ stop()
-
resume
public Supervision.Resume$ resume()
-
restart
public Supervision.Restart$ restart()
-
stoppingDecider
public scala.Function1<java.lang.Throwable,Supervision.Directive> stoppingDecider()
Scala API:Deciderthat returnsStopfor all exceptions.- Returns:
- (undocumented)
-
getStoppingDecider
public Function<java.lang.Throwable,Supervision.Directive> getStoppingDecider()
Java API: Decider function that returnsstop()for all exceptions.- Returns:
- (undocumented)
-
resumingDecider
public scala.Function1<java.lang.Throwable,Supervision.Directive> resumingDecider()
Scala API:Deciderthat returnsResumefor all exceptions.- Returns:
- (undocumented)
-
getResumingDecider
public Function<java.lang.Throwable,Supervision.Directive> getResumingDecider()
Java API: Decider function that returnsresume()for all exceptions.- Returns:
- (undocumented)
-
restartingDecider
public scala.Function1<java.lang.Throwable,Supervision.Directive> restartingDecider()
Scala API:Deciderthat returnsRestartfor all exceptions.- Returns:
- (undocumented)
-
getRestartingDecider
public Function<java.lang.Throwable,Supervision.Directive> getRestartingDecider()
Java API: Decider function that returnsrestart()for all exceptions.- Returns:
- (undocumented)
-
-