java.lang.Object
io.helidon.config.PollingStrategies
Built-in
PollingStrategy
implementations.
The static factory methods offer convenient ways to obtain commonly-used
PollingStrategy
implementations.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A builder for a scheduled polling strategy. -
Method Summary
Modifier and TypeMethodDescriptionstatic PollingStrategy
nop()
Provides a default polling strategy that does not fire an event at all.Provides a scheduled polling strategy with a specified constant interval.
-
Method Details
-
nop
Provides a default polling strategy that does not fire an event at all.- Returns:
- no-operation polling strategy instance
-
regular
Provides a scheduled polling strategy with a specified constant interval.- Parameters:
interval
- an interval between polling- Returns:
- a regular polling strategy
-