Module io.netty5.resolver.dns
Package io.netty5.resolver.dns
Class NoopDnsQueryLifecycleObserverFactory
- java.lang.Object
-
- io.netty5.resolver.dns.NoopDnsQueryLifecycleObserverFactory
-
- All Implemented Interfaces:
DnsQueryLifecycleObserverFactory
public final class NoopDnsQueryLifecycleObserverFactory extends Object implements DnsQueryLifecycleObserverFactory
-
-
Field Summary
Fields Modifier and Type Field Description static NoopDnsQueryLifecycleObserverFactory
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DnsQueryLifecycleObserver
newDnsQueryLifecycleObserver(DnsQuestion question)
Create a new instance of aDnsQueryLifecycleObserver
.
-
-
-
Field Detail
-
INSTANCE
public static final NoopDnsQueryLifecycleObserverFactory INSTANCE
-
-
Method Detail
-
newDnsQueryLifecycleObserver
public DnsQueryLifecycleObserver newDnsQueryLifecycleObserver(DnsQuestion question)
Description copied from interface:DnsQueryLifecycleObserverFactory
Create a new instance of aDnsQueryLifecycleObserver
. This will be called at the start of a new query.- Specified by:
newDnsQueryLifecycleObserver
in interfaceDnsQueryLifecycleObserverFactory
- Parameters:
question
- The question being asked.- Returns:
- a new instance of a
DnsQueryLifecycleObserver
.
-
-