Uses of Class
io.helidon.config.ScheduledPollingStrategy.RecurringPolicy.AdaptiveBuilder
Package
Description
Provides interfaces and classes for loading and working with immutable, tree-structured
configuration data.
-
Uses of ScheduledPollingStrategy.RecurringPolicy.AdaptiveBuilder in io.helidon.config
Modifier and TypeMethodDescriptionScheduledPollingStrategy.RecurringPolicy.adaptiveBuilder
(Duration initialInterval) Creates a builder ofScheduledPollingStrategy.RecurringPolicy
with an ability to change the behaviour, with a boundaries and the possibility to react to feedback given byScheduledPollingStrategy.RecurringPolicy.shorten()
orScheduledPollingStrategy.RecurringPolicy.lengthen()
.ScheduledPollingStrategy.RecurringPolicy.AdaptiveBuilder.lengthen
(BiFunction<Duration, Integer, Duration> lengthenFunction) Sets the function that will be used to lengthen the interval between ticking.Sets the maximal interval between tick events.Sets the minimal interval between tick events.ScheduledPollingStrategy.RecurringPolicy.AdaptiveBuilder.shorten
(BiFunction<Duration, Integer, Duration> shortenFunction) Sets the function that will be used to shorten the interval between ticking.