Attributes
Members list
Type members
Classlikes
A schedule that represents an increasing duration between invocations (backoff), up to a given number of times.
A schedule that represents an increasing duration between invocations (backoff), up to a given number of times.
The backoff is exponential with base 2 (i.e. the next duration is twice as long as the previous one), starting at the given first duration and capped at the given maximum duration.
Value parameters
- firstDuration
-
The duration between the first and the second invocations.
- jitter
-
A random factor used for calculating the duration between subsequent repeats. See Jitter for more details. Defaults to no jitter, i.e. an exponential backoff with no adjustments.
- maxDuration
-
The maximum duration between subsequent invocations.
- maxRepeats
-
The maximum number of repeats.
Attributes
A schedule that represents a fixed duration between invocations, up to a given number of times.
A schedule that represents a fixed duration between invocations, up to a given number of times.
Value parameters
- duration
-
The duration between subsequent invocations.
- maxRepeats
-
The maximum number of repeats.
Attributes
A schedule that represents an immediate invocation, up to a given number of times.
A schedule that represents an initial delay applied before the first invocation of operation being scheduled. Usually used in combination with other schedules using andThen
A schedule that represents an initial delay applied before the first invocation of operation being scheduled. Usually used in combination with other schedules using andThen
Value parameters
- delay
-
The initial delay.
Attributes
- Example
-
Schedule.InitialDelay(1.second).andThen(Schedule.Delay.forever(100.millis))
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Scheduleclass Objecttrait Matchableclass AnyShow all
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