Class/Object

teststate.run.Retry

Policy

Related Docs: object Policy | package Retry

Permalink

final case class Policy(nextTry: (Ctx, Instant) ⇒ Option[Instant]) extends AnyVal with Product with Serializable

Instant Arg = current time Output = Time for which to schedule a retry

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Policy
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyVal
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Policy(nextTry: (Ctx, Instant) ⇒ Option[Instant])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  7. val nextTry: (Ctx, Instant) ⇒ Option[Instant]

    Permalink
  8. def retry[F[_], A](scope: Scope, task: ⇒ F[A])(failed: (A) ⇒ Boolean)(implicit EM: ExecutionModel[F]): F[A]

    Permalink
  9. def retryI[F[_], A](scope: Scope, initialA: A)(failed: (A) ⇒ Boolean, retryF: ⇒ F[A])(implicit EM: ExecutionModel[F]): F[A]

    Permalink
  10. def unsafeRetryOnException[A](scope: Scope, first: ⇒ A, subsequent: ⇒ A)(implicit EM: ExecutionModel[Id]): A

    Permalink
  11. def unsafeRetryOnException[A](scope: Scope, a: ⇒ A)(implicit EM: ExecutionModel[Id]): A

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyVal

Inherited from Any

Ungrouped