class Retry extends AnyRef
The entrance class for working with DI containers.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Retry
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
Retry(ec: ExecutionContext, actorSystem: ActorSystem)
- ec
the injected execution context.
- actorSystem
the injected actorSystem.
- Annotations
- @Inject()
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[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
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( ... )
-
def
withBackoffDelay[T](retries: Int, delay: FiniteDuration, factor: Double): BaseRetry[T]
Retry with a back-off delay strategy.
Retry with a back-off delay strategy.
- retries
the max retry count.
- delay
the initial delay for first retry.
- factor
the product factor for the calculation of next delay.
-
def
withFibonacciDelay[T](retries: Int, baseDelay: FiniteDuration): BaseRetry[T]
Retry with a fibonacci delay strategy.
Retry with a fibonacci delay strategy.
- retries
the max retry count.
- baseDelay
the initial delay for first retry.
-
def
withFixedDelay[T](retries: Int, delay: FiniteDuration): BaseRetry[T]
Retry with a fixed delay strategy.
Retry with a fixed delay strategy.
- retries
the max retry count.
- delay
the fixed delay between each retry.
-
def
withJitterDelay[T](retries: Int, minDelay: FiniteDuration, maxDelay: FiniteDuration): BaseRetry[T]
Retry with a jitter delay strategy.
Retry with a jitter delay strategy.
- retries
the max retry count.
- minDelay
min delay.
- maxDelay
max delay.