public class LocationAwareDnsLookupClientRpcImpl extends Object implements LocationAwareDnsLookupClient, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
LocationAwareDnsLookupClientRpcImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
RpcClient<DnsLookupRequestDTO,DnsLookupResponseDTO> |
getDelegate() |
CompletableFuture<String> |
lookup(String hostName,
String location) |
CompletableFuture<String> |
lookup(String hostName,
String location,
String systemId) |
CompletableFuture<String> |
reverseLookup(InetAddress ipAddress,
String location) |
CompletableFuture<String> |
reverseLookup(InetAddress ipAddress,
String location,
String systemId) |
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
public CompletableFuture<String> lookup(String hostName, String location)
lookup
in interface LocationAwareDnsLookupClient
public CompletableFuture<String> lookup(String hostName, String location, String systemId)
lookup
in interface LocationAwareDnsLookupClient
public CompletableFuture<String> reverseLookup(InetAddress ipAddress, String location)
reverseLookup
in interface LocationAwareDnsLookupClient
public CompletableFuture<String> reverseLookup(InetAddress ipAddress, String location, String systemId)
reverseLookup
in interface LocationAwareDnsLookupClient
public RpcClient<DnsLookupRequestDTO,DnsLookupResponseDTO> getDelegate()
Copyright © 2021. All rights reserved.