trait ExponentialBackoff extends AnyRef
To avoid tight loops around errors.
- Annotations
- @deprecated
- Deprecated
(Since version 0.1.0) Use the more flexible Retry functions
- Alphabetic
- By Inheritance
- ExponentialBackoff
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
Concrete 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
backoffMinTimeMs: Long
Optional setting to wait a minimum time before a retry, defaulting to 1ms
Optional setting to wait a minimum time before a retry, defaulting to 1ms
- Attributes
- protected
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- 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()
-
final
def
retry[T](operation: ⇒ T): T
Loops forever until given operation succeeds.
Loops forever until given operation succeeds.
- Attributes
- protected[this]
-
final
def
retryUpTo[T](maxTryTimes: Long)(operation: ⇒ T): T
Loops until given operation succeeds up to maxTryTimes.
Loops until given operation succeeds up to maxTryTimes.
- Attributes
- protected[this]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
Deprecated Value Members
-
final
def
loopWithBackoffOnErrorWhile(loopCondition: ⇒ Boolean)(loopBody: ⇒ Unit): Unit
Loops while loopCondition evaluates to true, reports errors and backs off on error before next iteration of the loop.
Loops while loopCondition evaluates to true, reports errors and backs off on error before next iteration of the loop.
- Attributes
- protected[this]
- Annotations
- @deprecated
- Deprecated
(Since version 0.0.6) Use the more flexible Retry functions