HandlerRecoveryStrategy

akka.projection.HandlerRecoveryStrategy$
See theHandlerRecoveryStrategy companion trait

Attributes

Companion:
trait
Source:
HandlerRecoveryStrategy.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source:
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source:
Mirror.scala

Value members

Concrete methods

If the first attempt to invoke the handler fails it will immediately give up and fail the stream.

If the first attempt to invoke the handler fails it will immediately give up and fail the stream.

Attributes

Source:
HandlerRecoveryStrategy.scala

Scala API: If the first attempt to invoke the handler fails it will retry invoking the handler with the same envelope this number of retries with the delay between each attempt. It will give up and fail the stream if all attempts fail.

Scala API: If the first attempt to invoke the handler fails it will retry invoking the handler with the same envelope this number of retries with the delay between each attempt. It will give up and fail the stream if all attempts fail.

Attributes

Source:
HandlerRecoveryStrategy.scala
def retryAndFail(retries: Int, delay: Duration): HandlerRecoveryStrategy

Java API: If the first attempt to invoke the handler fails it will retry invoking the handler with the same envelope this number of retries with the delay between each attempt. It will give up and fail the stream if all attempts fail.

Java API: If the first attempt to invoke the handler fails it will retry invoking the handler with the same envelope this number of retries with the delay between each attempt. It will give up and fail the stream if all attempts fail.

Attributes

Source:
HandlerRecoveryStrategy.scala

Scala API: If the first attempt to invoke the handler fails it will retry invoking the handler with the same envelope this number of retries with the delay between each attempt. It will give up, discard the element and continue with next if all attempts fail.

Scala API: If the first attempt to invoke the handler fails it will retry invoking the handler with the same envelope this number of retries with the delay between each attempt. It will give up, discard the element and continue with next if all attempts fail.

Attributes

Source:
HandlerRecoveryStrategy.scala
def retryAndSkip(retries: Int, delay: Duration): HandlerRecoveryStrategy

Java API: If the first attempt to invoke the handler fails it will retry invoking the handler with the same envelope this number of retries with the delay between each attempt. It will give up, discard the element and continue with next if all attempts fail.

Java API: If the first attempt to invoke the handler fails it will retry invoking the handler with the same envelope this number of retries with the delay between each attempt. It will give up, discard the element and continue with next if all attempts fail.

Attributes

Source:
HandlerRecoveryStrategy.scala

If the first attempt to invoke the handler fails it will immediately give up, discard the element and continue with next.

If the first attempt to invoke the handler fails it will immediately give up, discard the element and continue with next.

Attributes

Source:
HandlerRecoveryStrategy.scala