Uses of Class
Provides interfaces and classes for loading and working with immutable, tree-structured configuration data.
Modifier and TypeMethodDescriptionCreates a builder of
ScheduledPollingStrategy.RecurringPolicywith an ability to change the behaviour, with a boundaries and the possibility to react to feedback given by
(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.
(BiFunction<Duration, Integer, Duration> shortenFunction)Sets the function that will be used to shorten the interval between ticking.