Package com.arpnetworking.utility
Interface HostNameResolver
- All Known Implementing Classes:
DefaultHostNameResolver
public interface HostNameResolver
Interface for classes which resolve host names. This is commonly used
to inject a service discovery or load balancing strategy that is not
supported transparently through DNS lookup.
- Author:
- Ville Koskela (ville dot koskela at inscopemetrics dot io)
-
Method Summary
-
Method Details
-
resolve
Resolve a host name to another hostname or ip address.- Parameters:
hostName
- the host name to resolve.- Returns:
- the resolved host name or ip address.
-