Packages

object Retry

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Retry
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class Decision[+A](retry: Boolean, delay: Duration, value: A) extends Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final lazy val always: Retry[Any, Unit]

    A retry policy that always succeeds.

  5. final def apply[E, A](initial0: IO[Nothing, A], update0: (E, A) ⇒ IO[Nothing, Decision[A]]): Retry[E, A]

    Constructs a new retry policy from an initial value and an update function.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. final val counted: Retry[Any, Int]

    A retry policy that always retries and counts the number of retries.

  9. final def duration(duration: Duration): Retry[Any, Duration]

    A retry policy that will keep retrying until the specified duration has elapsed.

  10. final val elapsed: Retry[Any, Duration]

    A retry policy that always retries and computes the time since the beginning of the process.

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. final def errors[E]: Retry[E, List[E]]

    A retry policy that always succeeds, collecting all errors into a list.

  14. final def exponential(base: Duration, factor: Double = 2.0): Retry[Any, Duration]

    A retry policy that will always succeed, but will wait a certain amount between retries, given by base * factor.pow(n), where n is the number of retries so far.

  15. final def fibonacci(one: Duration): Retry[Any, Duration]

    A retry policy that always succeeds, increasing delays by summing the preceeding two delays (similar to the fibonacci sequence)

  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def fixed(delay: Duration): Retry[Any, Int]

    A retry policy that will always succeed, waiting the specified fixed duration between attempts.

  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final lazy val never: Retry[Any, Unit]

    A retry policy that always fails.

  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def point[A](a: ⇒ A): Retry[Any, A]

    A retry policy that always succeeds with the specified constant state.

  26. final def retries(max: Int): Retry[Any, Int]

    A retry policy that will keep retrying until the specified number of retries is reached.

  27. final def stateful[A](a: A)(f: (A) ⇒ A): Retry[Any, A]

    A retry policy that always succeeds, and computes the state through repeated application of a function to a base value.

  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  33. object Decision extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped