Interface WatchableSource.Builder<B extends WatchableSource.Builder<B,T>,T>

Type Parameters:
B - type of the builder, used when extending this builder (MyBuilder implements Builder<MyBuilder, Path>
T - type of the target of the source
All Known Implementing Classes:
DirectoryConfigSource.Builder, EtcdConfigSourceBuilder, FileConfigSource.Builder, FileOverrideSource.Builder, UrlConfigSource.Builder, UrlOverrideSource.Builder
Enclosing interface:
WatchableSource<T>

public static interface WatchableSource.Builder<B extends WatchableSource.Builder<B,T>,T>
A builder for a watchable source.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    changeWatcher(ChangeWatcher<T> changeWatcher)
    Configure the change watcher to be used with this source.
  • Method Details

    • changeWatcher

      B changeWatcher(ChangeWatcher<T> changeWatcher)
      Configure the change watcher to be used with this source.
      Parameters:
      changeWatcher - watcher to use
      Returns:
      updated builder instance