| Package | Description |
|---|---|
| com.spotify.dns |
| Modifier and Type | Method and Description |
|---|---|
static LookupResult |
LookupResult.create(String host,
int port,
int priority,
int weight,
long ttl) |
| Modifier and Type | Method and Description |
|---|---|
static DnsSrvWatchers.DnsSrvWatcherBuilder<LookupResult> |
DnsSrvWatchers.newBuilder(DnsSrvResolver resolver)
Creates a
DnsSrvWatchers.DnsSrvWatcherBuilder using the given DnsSrvResolver. |
List<LookupResult> |
DnsSrvResolver.resolve(String fqdn)
Does a DNS SRV lookup for the supplied fully qualified domain name, and returns the
matching results.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> DnsSrvWatchers.DnsSrvWatcherBuilder<T> |
DnsSrvWatchers.newBuilder(DnsSrvResolver resolver,
com.google.common.base.Function<LookupResult,T> resultTransformer)
Creates a
DnsSrvWatchers.DnsSrvWatcherBuilder using the given DnsSrvResolver. |
Copyright © 2017. All rights reserved.