Package org.apache.pekko.io
Class Dns
java.lang.Object
org.apache.pekko.io.Dns
- Direct Known Subclasses:
SimpleDnsCache
Not for user extension.
This used to be a supported extension point but will be removed in future versions of Apache Pekko.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Tapply(ActorSystem system) static Tapply(ClassicActorSystemProvider system) scala.Option<DnsProtocol.Resolved>cached(DnsProtocol.Resolve request) static DnsExtcreateExtension(ExtendedActorSystem system) static final booleanstatic DnsExtget(ActorSystem system) Java API: retrieve the Udp extension for the given system.static DnsExtget(ClassicActorSystemProvider system) static final inthashCode()static Dns$lookup()scala.Option<DnsProtocol.Resolved>resolve(DnsProtocol.Resolve request, ActorSystem system, ActorRef sender)
-
Constructor Details
-
Dns
public Dns()
-
-
Method Details
-
lookup
-
createExtension
-
get
Java API: retrieve the Udp extension for the given system. -
get
-
apply
-
apply
-
hashCode
public static final int hashCode() -
equals
-
cached
-
resolve
public scala.Option<DnsProtocol.Resolved> resolve(DnsProtocol.Resolve request, ActorSystem system, ActorRef sender)
-