Package akka.stream
Class Supervision
- java.lang.Object
- 
- akka.stream.Supervision
 
- 
 public class Supervision extends java.lang.Object
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static interfaceSupervision.Directivestatic classSupervision.Restart$Scala API: The element is dropped and the stream continues after restarting the operator if application code for processing an element throws an exception.static classSupervision.Resume$Scala API: The element is dropped and the stream continues if application code for processing an element throws an exception.static classSupervision.Stop$Scala API: The stream will be completed with failure if application code for processing an element throws an exception.
 - 
Constructor SummaryConstructors Constructor Description Supervision()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static Function<java.lang.Throwable,Supervision.Directive>getRestartingDecider()Java API: Decider function that returnsrestart()for all exceptions.static Function<java.lang.Throwable,Supervision.Directive>getResumingDecider()Java API: Decider function that returnsresume()for all exceptions.static Function<java.lang.Throwable,Supervision.Directive>getStoppingDecider()Java API: Decider function that returnsstop()for all exceptions.static Supervision.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.static scala.Function1<java.lang.Throwable,Supervision.Directive>restartingDecider()Scala API:Deciderthat returnsRestartfor all exceptions.static Supervision.Resume$resume()Java API: The element is dropped and the stream continues if application code for processing an element throws an exception.static scala.Function1<java.lang.Throwable,Supervision.Directive>resumingDecider()Scala API:Deciderthat returnsResumefor all exceptions.static Supervision.Stop$stop()Java API: The stream will be completed with failure if application code for processing an element throws an exception.static scala.Function1<java.lang.Throwable,Supervision.Directive>stoppingDecider()Scala API:Deciderthat returnsStopfor all exceptions.
 
- 
- 
- 
Method Detail- 
stoppublic static Supervision.Stop$ stop() Java API: The stream will be completed with failure if application code for processing an element throws an exception.
 - 
resumepublic static Supervision.Resume$ resume() Java API: The element is dropped and the stream continues if application code for processing an element throws an exception.
 - 
restartpublic static Supervision.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. Restarting an operator means that any accumulated state is cleared. This is typically performed by creating a new instance of the operator.
 - 
stoppingDeciderpublic static scala.Function1<java.lang.Throwable,Supervision.Directive> stoppingDecider() Scala API:Deciderthat returnsStopfor all exceptions.
 - 
getStoppingDeciderpublic static Function<java.lang.Throwable,Supervision.Directive> getStoppingDecider() Java API: Decider function that returnsstop()for all exceptions.
 - 
resumingDeciderpublic static scala.Function1<java.lang.Throwable,Supervision.Directive> resumingDecider() Scala API:Deciderthat returnsResumefor all exceptions.
 - 
getResumingDeciderpublic static Function<java.lang.Throwable,Supervision.Directive> getResumingDecider() Java API: Decider function that returnsresume()for all exceptions.
 - 
restartingDeciderpublic static scala.Function1<java.lang.Throwable,Supervision.Directive> restartingDecider() Scala API:Deciderthat returnsRestartfor all exceptions.
 - 
getRestartingDeciderpublic static Function<java.lang.Throwable,Supervision.Directive> getRestartingDecider() Java API: Decider function that returnsrestart()for all exceptions.
 
- 
 
-