Skip navigation links
A B C D G I L M N O Q R S T V 

A

accept(int, int) - Method in interface ServiceDiscovererUtils.TwoIntsConsumer
Performs this operation on the given arguments.

B

buildARecordDiscoverer() - Method in class DefaultDnsServiceDiscovererBuilder
Deprecated.
 
buildARecordDiscoverer() - Method in class DelegatingDnsServiceDiscovererBuilder
 
buildARecordDiscoverer() - Method in interface DnsServiceDiscovererBuilder
Build a new ServiceDiscoverer which targets host addresses (e.g.
builder(String) - Static method in class DnsServiceDiscoverers
buildSrvDiscoverer() - Method in class DefaultDnsServiceDiscovererBuilder
Deprecated.
 
buildSrvDiscoverer() - Method in class DelegatingDnsServiceDiscovererBuilder
 
buildSrvDiscoverer() - Method in interface DnsServiceDiscovererBuilder
Build a new ServiceDiscoverer which queries SRV Resource Records corresponding to serviceName.

C

calculateDifference(List<? extends T>, List<? extends T>, Comparator<T>, ServiceDiscovererUtils.TwoIntsConsumer, ServiceDiscovererEvent.Status) - Static method in class ServiceDiscovererUtils
Given a sorted list of currently active addresses, and a new set of unsorted active address calculate the ServiceDiscovererEvents.
consolidateCacheSize(int) - Method in class DefaultDnsServiceDiscovererBuilder
Deprecated.
 
consolidateCacheSize(int) - Method in class DelegatingDnsServiceDiscovererBuilder
 
consolidateCacheSize(int) - Method in interface DnsServiceDiscovererBuilder
Set the maximum size of the cache that is used to consolidate concurrent lookups for different hostnames.

D

DefaultDnsServiceDiscovererBuilder - Class in io.servicetalk.dns.discovery.netty
Deprecated.
this class will be made package-private in the future, rely on the DnsServiceDiscovererBuilder instead.
DefaultDnsServiceDiscovererBuilder() - Constructor for class DefaultDnsServiceDiscovererBuilder
Deprecated.
delegate() - Method in class DelegatingDnsServiceDiscovererBuilder
Returns the DnsServiceDiscovererBuilder delegate.
DelegatingDnsServiceDiscovererBuilder - Class in io.servicetalk.dns.discovery.netty
A DnsServiceDiscovererBuilder that delegates all methods to another DnsServiceDiscovererBuilder.
DelegatingDnsServiceDiscovererBuilder(DnsServiceDiscovererBuilder) - Constructor for class DelegatingDnsServiceDiscovererBuilder
Creates a new builder which delegates to the provided DnsServiceDiscovererBuilder.
discoveryCancelled() - Method in interface DnsServiceDiscovererObserver.DnsDiscoveryObserver
Notifies that the current DNS discovery got cancelled.
discoveryFailed(Throwable) - Method in interface DnsServiceDiscovererObserver.DnsDiscoveryObserver
Notifies that the current DNS discovery failed.
dnsResolverAddressTypes(DnsResolverAddressTypes) - Method in class DefaultDnsServiceDiscovererBuilder
Deprecated.
 
dnsResolverAddressTypes(DnsResolverAddressTypes) - Method in class DelegatingDnsServiceDiscovererBuilder
 
DnsResolverAddressTypes - Enum in io.servicetalk.dns.discovery.netty
Defined resolved address types.
dnsResolverAddressTypes(DnsResolverAddressTypes) - Method in interface DnsServiceDiscovererBuilder
Sets the list of the protocol families of the address resolved.
DnsServerAddressStream - Interface in io.servicetalk.dns.discovery.netty
An infinite stream of DNS server addresses.
dnsServerAddressStreamProvider(DnsServerAddressStreamProvider) - Method in class DefaultDnsServiceDiscovererBuilder
Deprecated.
 
dnsServerAddressStreamProvider(DnsServerAddressStreamProvider) - Method in class DelegatingDnsServiceDiscovererBuilder
 
DnsServerAddressStreamProvider - Interface in io.servicetalk.dns.discovery.netty
Provides an opportunity to override which DnsServerAddressStream is used to resolve a specific hostname.
dnsServerAddressStreamProvider(DnsServerAddressStreamProvider) - Method in interface DnsServiceDiscovererBuilder
Set the DnsServerAddressStreamProvider which determines which DNS server should be used per query.
DnsServiceDiscovererBuilder - Interface in io.servicetalk.dns.discovery.netty
Builder for DNS ServiceDiscoverer which will attempt to resolve A, AAAA, CNAME, and SRV type queries.
DnsServiceDiscovererBuilderProvider - Interface in io.servicetalk.dns.discovery.netty
DnsServiceDiscovererObserver - Interface in io.servicetalk.dns.discovery.netty
An observer that provides visibility into DNS ServiceDiscoverer built by DnsServiceDiscovererBuilder.
DnsServiceDiscovererObserver.DnsDiscoveryObserver - Interface in io.servicetalk.dns.discovery.netty
An observer that provides visibility into individual DNS discoveries.
DnsServiceDiscovererObserver.DnsResolutionObserver - Interface in io.servicetalk.dns.discovery.netty
An observer that provides visibility into DNS resolution results.
DnsServiceDiscovererObserver.ResolutionResult - Interface in io.servicetalk.dns.discovery.netty
Results of the current DNS resolution.
DnsServiceDiscoverers - Class in io.servicetalk.dns.discovery.netty
A factory to create DNS ServiceDiscoverers.
duplicate() - Method in interface DnsServerAddressStream
Duplicate this object.

G

globalARecordsDnsServiceDiscoverer() - Static method in class DnsServiceDiscoverers
Get the ServiceDiscoverer that executes DNS lookups for A/ AAAA records for provided HostAndPort.hostName() with a fixed HostAndPort.port().
globalSrvRecordsDnsServiceDiscoverer() - Static method in class DnsServiceDiscoverers
Get the ServiceDiscoverer that executes DNS lookups for SRV records for provided service name as a String.

I

io.servicetalk.dns.discovery.netty - package io.servicetalk.dns.discovery.netty
ServiceTalk DNS client exposed as a ServiceDiscoverer.
ioExecutor(IoExecutor) - Method in class DefaultDnsServiceDiscovererBuilder
Deprecated.
 
ioExecutor(IoExecutor) - Method in class DelegatingDnsServiceDiscovererBuilder
 
ioExecutor(IoExecutor) - Method in interface DnsServiceDiscovererBuilder
Sets the IoExecutor.

L

localAddress(SocketAddress) - Method in class DefaultDnsServiceDiscovererBuilder
Deprecated.
 
localAddress(SocketAddress) - Method in class DelegatingDnsServiceDiscovererBuilder
 
localAddress(SocketAddress) - Method in interface DnsServiceDiscovererBuilder
Set the local SocketAddress to bind to.

M

maxUdpPayloadSize(int) - Method in class DefaultDnsServiceDiscovererBuilder
Deprecated.
 
maxUdpPayloadSize(int) - Method in class DelegatingDnsServiceDiscovererBuilder
 
maxUdpPayloadSize(int) - Method in interface DnsServiceDiscovererBuilder
Set the maximum size of the receiving UDP datagram (in bytes).
minTTL(int) - Method in class DefaultDnsServiceDiscovererBuilder
missingRecordStatus(ServiceDiscovererEvent.Status) - Method in class DefaultDnsServiceDiscovererBuilder
Deprecated.
 
missingRecordStatus(ServiceDiscovererEvent.Status) - Method in class DelegatingDnsServiceDiscovererBuilder
 
missingRecordStatus(ServiceDiscovererEvent.Status) - Method in interface DnsServiceDiscovererBuilder
Sets which ServiceDiscovererEvent.Status to use in ServiceDiscovererEvent.status() when a record for a previously seen address is missing in the response.

N

nameServerAddressStream(String) - Method in interface DnsServerAddressStreamProvider
Ask this provider for the name servers to query for hostname.
nameServerAddressStream(String) - Method in class SequentialDnsServerAddressStreamProvider
 
nameServerAddressStream(String) - Method in class SingletonDnsServerAddressStreamProvider
 
nAvailable() - Method in interface DnsServiceDiscovererObserver.ResolutionResult
Number of resolved records that became available.
ndots(int) - Method in class DefaultDnsServiceDiscovererBuilder
Deprecated.
 
ndots(int) - Method in class DelegatingDnsServiceDiscovererBuilder
 
ndots(int) - Method in interface DnsServiceDiscovererBuilder
Set the number of dots which must appear in a name before an initial absolute query is made.
newBuilder(String, DnsServiceDiscovererBuilder) - Method in interface DnsServiceDiscovererBuilderProvider
Returns a DnsServiceDiscovererBuilder based on the (unique) id and pre-initialized DnsServiceDiscovererBuilder.
next() - Method in interface DnsServerAddressStream
Retrieves the next DNS server address from the stream.
nMissing() - Method in interface DnsServiceDiscovererObserver.ResolutionResult
Number of missing records compared to the previous resolution result.

O

observer(DnsServiceDiscovererObserver) - Method in class DefaultDnsServiceDiscovererBuilder
Deprecated.
 
observer(DnsServiceDiscovererObserver) - Method in class DelegatingDnsServiceDiscovererBuilder
 
observer(DnsServiceDiscovererObserver) - Method in interface DnsServiceDiscovererBuilder
Sets a DnsServiceDiscovererObserver that provides visibility into DNS ServiceDiscoverer built by this builder.
onNewDiscovery(String) - Method in interface DnsServiceDiscovererObserver
Deprecated.
use DnsServiceDiscovererObserver.onNewDiscovery(String, String) instead. To avoid breaking changes, all current implementations must implement both methods. In the next version the default implementation will swap. Then users will be able to keep implementation only for the new method. In the release after, the deprecated method will be removed.
onNewDiscovery(String, String) - Method in interface DnsServiceDiscovererObserver
Notifies that a new discovery started.
onNewResolution(String) - Method in interface DnsServiceDiscovererObserver.DnsDiscoveryObserver
Notifies that a new DNS resolution started.
optResourceEnabled(boolean) - Method in class DefaultDnsServiceDiscovererBuilder
Deprecated.
 
optResourceEnabled(boolean) - Method in class DelegatingDnsServiceDiscovererBuilder
 
optResourceEnabled(boolean) - Method in interface DnsServiceDiscovererBuilder
Enable the automatic inclusion of a optional records that tries to give the remote DNS server a hint about how much data the resolver can read per response.

Q

queryTimeout(Duration) - Method in class DefaultDnsServiceDiscovererBuilder
Deprecated.
 
queryTimeout(Duration) - Method in class DelegatingDnsServiceDiscovererBuilder
 
queryTimeout(Duration) - Method in interface DnsServiceDiscovererBuilder
Sets the timeout of each DNS query performed by this service discoverer as part of a resolution request.

R

resolutionCompleted(DnsServiceDiscovererObserver.ResolutionResult) - Method in interface DnsServiceDiscovererObserver.DnsResolutionObserver
Notifies that the current DNS resolution completed successfully.
resolutionFailed(Throwable) - Method in interface DnsServiceDiscovererObserver.DnsResolutionObserver
Notifies that the current DNS resolution failed.
resolutionTimeout(Duration) - Method in class DefaultDnsServiceDiscovererBuilder
Deprecated.
 
resolutionTimeout(Duration) - Method in class DelegatingDnsServiceDiscovererBuilder
 
resolutionTimeout(Duration) - Method in interface DnsServiceDiscovererBuilder
Sets the total timeout of each DNS resolution performed by this service discoverer.
resolvedRecords() - Method in interface DnsServiceDiscovererObserver.ResolutionResult
Number of resolved DNS records.

S

SequentialDnsServerAddressStreamProvider - Class in io.servicetalk.dns.discovery.netty
A DnsServerAddressStreamProvider which is backed by a sequential list of DNS servers.
SequentialDnsServerAddressStreamProvider(InetSocketAddress...) - Constructor for class SequentialDnsServerAddressStreamProvider
Create a new instance.
SequentialDnsServerAddressStreamProvider(List<InetSocketAddress>) - Constructor for class SequentialDnsServerAddressStreamProvider
Create a new instance.
ServiceDiscovererUtils - Class in io.servicetalk.dns.discovery.netty
A set of utility functions for ServiceDiscoverer.
ServiceDiscovererUtils.TwoIntsConsumer - Interface in io.servicetalk.dns.discovery.netty
Represents an operation that accepts two int-valued arguments and returns no result.
SingletonDnsServerAddressStreamProvider - Class in io.servicetalk.dns.discovery.netty
SingletonDnsServerAddressStreamProvider(InetSocketAddress) - Constructor for class SingletonDnsServerAddressStreamProvider
Create a new instance.
size() - Method in interface DnsServerAddressStream
Get the number of times DnsServerAddressStream.next() will return a distinct element before repeating or terminating.

T

ttl(int, int) - Method in class DefaultDnsServiceDiscovererBuilder
Deprecated.
 
ttl(int, int, int, int) - Method in class DefaultDnsServiceDiscovererBuilder
Deprecated.
 
ttl(int, int, int, int, int) - Method in class DefaultDnsServiceDiscovererBuilder
Deprecated.
 
ttl(int, int) - Method in class DelegatingDnsServiceDiscovererBuilder
 
ttl(int, int, int, int) - Method in class DelegatingDnsServiceDiscovererBuilder
 
ttl(int, int, int, int, int) - Method in class DelegatingDnsServiceDiscovererBuilder
 
ttl(int, int) - Method in interface DnsServiceDiscovererBuilder
Controls min/max TTL values that will influence polling intervals.
ttl(int, int, int, int) - Method in interface DnsServiceDiscovererBuilder
Controls min/max TTL values that will affect polling intervals and local caching.
ttl(int, int, int, int, int) - Method in interface DnsServiceDiscovererBuilder
Controls min/max TTL values that will affect polling intervals, local caching, and caching negative results.
ttl() - Method in interface DnsServiceDiscovererObserver.ResolutionResult
Minimum Time To Live (TTL) of the resolved DNS records in seconds.
ttlJitter(Duration) - Method in class DefaultDnsServiceDiscovererBuilder
Deprecated.
 
ttlJitter(Duration) - Method in class DelegatingDnsServiceDiscovererBuilder
 
ttlJitter(Duration) - Method in interface DnsServiceDiscovererBuilder
The jitter to apply for scheduling the next query after TTL to help spread out subsequent DNS queries.

V

valueOf(String) - Static method in enum DnsResolverAddressTypes
Returns the enum constant of this type with the specified name.
values() - Static method in enum DnsResolverAddressTypes
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D G I L M N O Q R S T V 
Skip navigation links