Package com.spotify.dns
Interface ErrorHandler
-
public interface ErrorHandlerError handler callback for errors thrown by theDnsSrvResolverused in aDnsSrvWatcher.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandle(String fqdn, DnsException exception)Handles aDnsExceptionfor the given FQDN.
-
-
-
Method Detail
-
handle
void handle(String fqdn, DnsException exception)
Handles aDnsExceptionfor the given FQDN.- Parameters:
fqdn- The FQDN that was resolvedexception- The exception thrown
-
-