RepeatedTaskConfig

data class RepeatedTaskConfig @JvmOverloads constructor(val timeBetweenRunsMs: Long = 30000, val initialDelayMs: Long = 0, val defaultJitterMs: Long = 50, val defaultMaxDelayMs: Long = 60000) : Config

Constructors

Link copied to clipboard
constructor(timeBetweenRunsMs: Long = 30000, initialDelayMs: Long = 0, defaultJitterMs: Long = 50, defaultMaxDelayMs: Long = 60000)

Properties

Link copied to clipboard

The default amount of jitter to use when scheduling backoffs.

Link copied to clipboard
val defaultMaxDelayMs: Long = 60000

The default maximum backoff time.

Link copied to clipboard

Initial delay before starting the first task run, defaults to no delay, i.e. immediate start

Link copied to clipboard
val timeBetweenRunsMs: Long = 30000

Time between runs of tasks, set to 0 if immediately repeat task