Module io.helidon.config
Package io.helidon.config.spi
Interface PollableSource.Builder<T extends PollableSource.Builder<T>>
- Type Parameters:
T
- type of the builder, used when extending this builder
- All Known Implementing Classes:
ConfigSources.SystemPropertiesConfigSource.Builder
,DirectoryConfigSource.Builder
,EtcdConfigSourceBuilder
,FileConfigSource.Builder
,FileOverrideSource.Builder
,GitConfigSourceBuilder
,MapConfigSource.Builder
,MapConfigSource.MapBuilder
,UrlConfigSource.Builder
,UrlOverrideSource.Builder
- Enclosing interface:
- PollableSource<S>
public static interface PollableSource.Builder<T extends PollableSource.Builder<T>>
A builder for pollable source.
-
Method Summary
Modifier and TypeMethodDescriptionpollingStrategy
(PollingStrategy pollingStrategy) Configure the polling strategy to use.default T
pollingStrategy
(Supplier<? extends PollingStrategy> pollingStrategy) Configure the polling strategy to use.
-
Method Details
-
pollingStrategy
Configure the polling strategy to use.- Parameters:
pollingStrategy
- polling strategy- Returns:
- updated builder
-
pollingStrategy
Configure the polling strategy to use.- Parameters:
pollingStrategy
- supplier of polling strategy (such as its builder)- Returns:
- updated builder
-