AutoPollConfiguration

data class AutoPollConfiguration(var pollingInterval: Duration = 60.seconds, var maxInitWaitTime: Duration = 5.seconds)(source)

Describes the auto polling configuration.

Constructors

Link copied to clipboard
constructor(pollingInterval: Duration = 60.seconds, maxInitWaitTime: Duration = 5.seconds)

Properties

Link copied to clipboard

The maximum waiting time between initialization and the first config acquisition.

Link copied to clipboard

The interval of how often this policy should fetch the latest configuration and refresh the cache.