| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final NoopDnsQueryLifecycleObserver |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | queryCancelled(int
The number of queries remaining. queriesRemaining)Implements io. |
| public DnsQueryLifecycleObserver | queryCNAMEd(DnsQuestion
the question we would use if we issue a new query. cnameQuestion)Implements io. |
| public void | queryFailed(Throwable
The cause which for the failure. cause)Implements io.
|
| public DnsQueryLifecycleObserver | queryNoAnswer(DnsResponseCode
the unexpected response code. code)Implements io. DnsResponseCode#NXDOMAIN so we may try to query again.
|
| public DnsQueryLifecycleObserver | queryRedirected(List<InetSocketAddress>
The name servers the query has been redirected to. nameServers)Implements io. |
| public void | querySucceed()
Implements io. |
| public void | queryWritten(InetSocketAddress
The DNS server address which the query was sent to. dnsServerAddress, Future<Void> The future which represents the status of the write operation for the DNS query. future)Implements io. |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final NoopDnsQueryLifecycleObserver INSTANCE | |
| NoopDnsQueryLifecycleObserver | back to summary |
|---|---|
| private NoopDnsQueryLifecycleObserver() | |
| queryCancelled | back to summary |
|---|---|
| public void queryCancelled(int queriesRemaining) Implements io. Doc from io. The query may have been written but it was cancelled at some point.
| |
| queryCNAMEd | back to summary |
|---|---|
| public DnsQueryLifecycleObserver queryCNAMEd(DnsQuestion cnameQuestion) Implements io. Doc from io. The query returned a CNAME which we may attempt to follow with a new query.
Note that multiple queries may be encountering a CNAME. For example a if both
| |
| queryFailed | back to summary |
|---|---|
| public void queryFailed(Throwable cause) Implements io. Doc from io. The following criteria are possible:
| |
| queryNoAnswer | back to summary |
|---|---|
| public DnsQueryLifecycleObserver queryNoAnswer(DnsResponseCode code) Implements io. Doc from io. The response to the query didn't provide the expected response code, but it didn't return
| |
| queryRedirected | back to summary |
|---|---|
| public DnsQueryLifecycleObserver queryRedirected(List<InetSocketAddress> nameServers) Implements io. Doc from io. The query has been redirected to another list of DNS servers.
| |
| querySucceed | back to summary |
|---|---|
| public void querySucceed() Implements io. Doc from io. The query received the expected results.
| |
| queryWritten | back to summary |
|---|---|
| public void queryWritten(InetSocketAddress dnsServerAddress, Future<Void> future) Implements io. Doc from io. The query has been written.
| |