object Retry
- Alphabetic
- By Inheritance
- Retry
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def retry[T](delay: FiniteDuration, retries: Int, onRetry: (Int, Throwable) => Unit = (n, e) => Logger[Retry.type].debug(s"Retrying after failed execution (${n} retries left) : ${e.getMessage()}"))(op: => T)(implicit ec: ExecutionContext, s: Scheduler): Future[T]
Executed and in case of an failure retries an operation
op.Executed and in case of an failure retries an operation
op. As long as there are retries left, the next retry starts afterdelaytimes.- delay
The time between a failure and the next retry.
- retries
The max count of retries, before giving up.
- onRetry
Action to be run before a retry.
- op
The operation to be executed and, iff failed, retried.
- ec
ExecutionContext to run the inner futures with.
- s
The Scheduler used to schedule the next retry.
- returns
The Future containing the result of
opor the last failure.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unsafeRetry[T](delay: FiniteDuration, retries: Int, onRetry: (Int, Throwable) => Unit = (n, e) => Logger[Retry.type].debug(s"Retrying after failed execution (${n} retries left) : ${e.getMessage()}"), finalDelay: Option[FiniteDuration] = None)(op: => T)(implicit ec: ExecutionContext, s: Scheduler): T
Executed and in case of an failure retries an operation
op.Executed and in case of an failure retries an operation
op. As long as there are retries left, the next retry starts afterdelaytimes.- delay
The time between a failure and the next retry.
- retries
The max count of retries, before giving up.
- onRetry
Action to be run before a retry.
- finalDelay
The overall delay forwarded to Await, before failing the whole retry block.
- op
The operation to be executed and, iff failed, retried.
- s
The Scheduler used to schedule the next retry.
- returns
The result of
opor throws an exception.
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()