Package com.spotify.dns
-
Interface Summary Interface Description ChangeNotifier<T> A change notifier represents a watched lookup from aDnsSrvWatcher.ChangeNotifier.ChangeNotification<T> A change event containing the current and previous set of records.ChangeNotifier.Listener<T> A listener which will be called when the set of records changeChangeNotifierFactory<T> Creates aChangeNotifierFactory.RunnableChangeNotifierfrom a FQDN.ChangeNotifierFactory.RunnableChangeNotifier<T> AChangeNotifierthat that can be executed.DnsSrvResolver Contract for doing SRV lookups.DnsSrvWatcher<T> A watcher for DNS SRV records.DnsSrvWatcherFactory<T> A factory for creatingDnsSrvWatcherimplementations.ErrorHandler Error handler callback for errors thrown by theDnsSrvResolverused in aDnsSrvWatcher. -
Class Summary Class Description ChangeNotifiers DnsSrvResolvers Provides builders for configuring and instantiatingDnsSrvResolvers.DnsSrvResolvers.DnsSrvResolverBuilder DnsSrvWatchers Provides builders for configuring and instantiatingDnsSrvWatchers.DnsSrvWatchers.DnsSrvWatcherBuilder<T> LookupResult Immutable data object with the relevant parts of an SRV record.SimpleLookupFactory A LookupFactory that always returns new instances. -
Exception Summary Exception Description DnsException RuntimeException thrown by the Spotify DNS library.