Module io.netty5.resolver.dns
Package io.netty5.resolver.dns
Interface DnsQueryLifecycleObserverFactory
-
- All Known Implementing Classes:
BiDnsQueryLifecycleObserverFactory
,LoggingDnsQueryLifeCycleObserverFactory
,NoopDnsQueryLifecycleObserverFactory
public interface DnsQueryLifecycleObserverFactory
Used to generate new instances ofDnsQueryLifecycleObserver
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DnsQueryLifecycleObserver
newDnsQueryLifecycleObserver(DnsQuestion question)
Create a new instance of aDnsQueryLifecycleObserver
.
-
-
-
Method Detail
-
newDnsQueryLifecycleObserver
DnsQueryLifecycleObserver newDnsQueryLifecycleObserver(DnsQuestion question)
Create a new instance of aDnsQueryLifecycleObserver
. This will be called at the start of a new query.- Parameters:
question
- The question being asked.- Returns:
- a new instance of a
DnsQueryLifecycleObserver
.
-
-