RepeatedTaskConfig

data class RepeatedTaskConfig @JvmOverloads constructor(timeBetweenRunsMs: Long, initialDelayMs: Long, defaultJitterMs: Long, defaultMaxDelayMs: Long) : Config

Properties

Link copied to clipboard
val defaultJitterMs: Long = 50

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
val initialDelayMs: Long = 0

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