izumi.functional.bio.retry.RetryPolicy
See theRetryPolicy companion class
object RetryPolicy
Attributes
- Companion
- class
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
RetryPolicy.type
Members list
Type members
Classlikes
object ControllerDecision
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ControllerDecision.type
object RetryFunction
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
RetryFunction.type
Types
type RetryFunction[+F[_, _], -A, +B] = (ZonedDateTime, A) => F[Nothing, ControllerDecision[F, A, B]]
Value members
Concrete methods
def apply[F[_, _], A, B](action: (ZonedDateTime, A) => F[Nothing, ControllerDecision[F, A, B]]): RetryPolicy[F, A, B]
def exponential[F[_, _] : Applicative2](baseDelay: FiniteDuration): RetryPolicy[F, Any, FiniteDuration]
def exponentialWithBound[F[_, _] : Applicative2](baseDelay: FiniteDuration, maxRetries: Int): RetryPolicy[F, Any, (FiniteDuration, Long)]
In this article