Object/Trait

scalaz.zio

Retry

Related Docs: trait Retry | package zio

Permalink

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

    Permalink

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Decision extends Serializable

    Permalink
  5. final lazy val always: Retry[Any, Unit]

    Permalink

    A retry policy that always succeeds.

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

    Permalink

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

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final val counted: Retry[Any, Int]

    Permalink

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

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

    Permalink

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

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

    Permalink

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

  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def errors[E]: Retry[E, List[E]]

    Permalink

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

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

    Permalink

    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.

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

    Permalink

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

  17. def finalize(): Unit

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

    Permalink

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

  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final lazy val never: Retry[Any, Unit]

    Permalink

    A retry policy that always fails.

  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def point[A](a: ⇒ A): Retry[Any, A]

    Permalink

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

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

    Permalink

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

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

    Permalink

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

  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped