public static final class DnsSrvWatchers.DnsSrvWatcherBuilder<T> extends Object
| Modifier and Type | Method and Description |
|---|---|
DnsSrvWatcher<T> |
build() |
DnsSrvWatchers.DnsSrvWatcherBuilder<T> |
customTrigger(DnsSrvWatcherFactory<T> watcherFactory) |
DnsSrvWatchers.DnsSrvWatcherBuilder<T> |
polling(long pollingInterval,
TimeUnit pollingIntervalUnit) |
DnsSrvWatchers.DnsSrvWatcherBuilder<T> |
usingExecutor(ScheduledExecutorService scheduledExecutorService) |
DnsSrvWatchers.DnsSrvWatcherBuilder<T> |
withErrorHandler(ErrorHandler errorHandler) |
public DnsSrvWatcher<T> build()
public DnsSrvWatchers.DnsSrvWatcherBuilder<T> polling(long pollingInterval, TimeUnit pollingIntervalUnit)
public DnsSrvWatchers.DnsSrvWatcherBuilder<T> usingExecutor(ScheduledExecutorService scheduledExecutorService)
public DnsSrvWatchers.DnsSrvWatcherBuilder<T> customTrigger(DnsSrvWatcherFactory<T> watcherFactory)
public DnsSrvWatchers.DnsSrvWatcherBuilder<T> withErrorHandler(ErrorHandler errorHandler)
Copyright © 2016. All rights reserved.