Module io.helidon.config
Package io.helidon.config
Class ScheduledPollingStrategy.RegularRecurringPolicy
- java.lang.Object
-
- io.helidon.config.ScheduledPollingStrategy.RegularRecurringPolicy
-
- All Implemented Interfaces:
ScheduledPollingStrategy.RecurringPolicy
- Enclosing class:
- ScheduledPollingStrategy
public static class ScheduledPollingStrategy.RegularRecurringPolicy extends Object implements ScheduledPollingStrategy.RecurringPolicy
Regular polling strategy implementation.- See Also:
PollingStrategies.regular(Duration)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.helidon.config.ScheduledPollingStrategy.RecurringPolicy
ScheduledPollingStrategy.RecurringPolicy.AdaptiveBuilder
-
-
Constructor Summary
Constructors Constructor Description RegularRecurringPolicy(Duration interval)
Initialize recurring policy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Duration
interval()
Returns the current interval.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.helidon.config.ScheduledPollingStrategy.RecurringPolicy
lengthen, shorten
-
-
-
-
Constructor Detail
-
RegularRecurringPolicy
public RegularRecurringPolicy(Duration interval)
Initialize recurring policy.- Parameters:
interval
- regular interval
-
-
Method Detail
-
interval
public Duration interval()
Description copied from interface:ScheduledPollingStrategy.RecurringPolicy
Returns the current interval.- Specified by:
interval
in interfaceScheduledPollingStrategy.RecurringPolicy
- Returns:
- a current interval
-
-