Supervision

org.apache.pekko.stream.Supervision
object Supervision

Attributes

Source
Supervision.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

sealed trait Directive

Attributes

Source
Supervision.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Restart
object Resume
object Stop
case object Restart extends Directive

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.

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.

Attributes

Source
Supervision.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Directive
class Object
trait Matchable
class Any
Show all
Self type
Restart.type
case object Resume extends Directive

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

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

Attributes

Source
Supervision.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Directive
class Object
trait Matchable
class Any
Show all
Self type
Resume.type
case object Stop extends Directive

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

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

Attributes

Source
Supervision.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Directive
class Object
trait Matchable
class Any
Show all
Self type
Stop.type

Types

Attributes

Source
Supervision.scala

Value members

Concrete methods

def restart: Restart.type

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.

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.

Attributes

Source
Supervision.scala
def resume: Resume.type

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

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

Attributes

Source
Supervision.scala
def stop: Stop.type

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

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

Attributes

Source
Supervision.scala

Concrete fields

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

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

Attributes

Source
Supervision.scala

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

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

Attributes

Source
Supervision.scala

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

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

Attributes

Source
Supervision.scala

Scala API: Decider that returns Restart for all exceptions.

Scala API: Decider that returns Restart for all exceptions.

Attributes

Source
Supervision.scala

Scala API: Decider that returns Resume for all exceptions.

Scala API: Decider that returns Resume for all exceptions.

Attributes

Source
Supervision.scala

Scala API: Decider that returns Stop for all exceptions.

Scala API: Decider that returns Stop for all exceptions.

Attributes

Source
Supervision.scala