Attributes
- Companion
- class
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
RepeatConfig.type
Members list
Type members
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Creates a config that repeats up to a given number of times, with an increasing interval (backoff) between subsequent attempts and optional initial delay.
Creates a config that repeats up to a given number of times, with an increasing interval (backoff) between subsequent attempts and optional initial delay.
The backoff is exponential with base 2 (i.e. the next interval is twice as long as the previous one), starting at the given first interval and capped at the given maximum interval.
Value parameters
- firstInterval
-
The interval between the first and the second operation.
- jitter
-
A random factor used for calculating the interval between subsequent retries. See Jitter for more details. Defaults to no jitter, i.e. an exponential backoff with no adjustments.
- maxInterval
-
The maximum interval between subsequent invocations. Defaults to 1 minute.
- maxInvocations
-
The maximum number of invocations.
Attributes
Creates a config that repeats indefinitely, with an increasing interval (backoff) between subsequent invocations and optional initial delay.
Creates a config that repeats indefinitely, with an increasing interval (backoff) between subsequent invocations and optional initial delay.
The backoff is exponential with base 2 (i.e. the next interval is twice as long as the previous one), starting at the given first interval and capped at the given maximum interval.
Value parameters
- firstInterval
-
The interval between the first and the second operation.
- jitter
-
A random factor used for calculating the interval between subsequent retries. See Jitter for more details. Defaults to no jitter, i.e. an exponential backoff with no adjustments.
- maxInterval
-
The maximum interval between subsequent invocations. Defaults to 1 minute.
Attributes
Creates a config that repeats up to a given number of times, with a fixed interval between subsequent invocations and optional initial delay.
Creates a config that repeats up to a given number of times, with a fixed interval between subsequent invocations and optional initial delay.
Value parameters
- initialDelay
-
The initial delay before the first invocation.
- interval
-
The interval between subsequent attempts.
- maxInvocations
-
The maximum number of invocations.
Attributes
Creates a config that repeats indefinitely, with a fixed interval between subsequent invocations and optional initial delay.
Creates a config that repeats indefinitely, with a fixed interval between subsequent invocations and optional initial delay.
Value parameters
- interval
-
The interval between subsequent invocations.
Attributes
Creates a config that repeats up to a given number of times, with no interval between subsequent invocations and optional initial delay.
Creates a config that repeats up to a given number of times, with no interval between subsequent invocations and optional initial delay.
Value parameters
- initialDelay
-
The initial delay before the first invocation.
- maxInvocations
-
The maximum number of invocations.
Attributes
Creates a config that repeats indefinitely, with no interval between subsequent invocations and optional initial delay.
Creates a config that repeats indefinitely, with no interval between subsequent invocations and optional initial delay.
Value parameters
- initialDelay
-
The initial delay before the first invocation.