Package akka.io
Class Dns
- java.lang.Object
-
- akka.io.Dns
-
- Direct Known Subclasses:
SimpleDnsCache
public abstract class Dns extends java.lang.ObjectNot for user extension.This used to be a supported extension point but will be removed in future versions of Akka.
-
-
Constructor Summary
Constructors Constructor Description Dns()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Tapply(ActorSystem system)static Tapply(ClassicActorSystemProvider system)scala.Option<DnsProtocol.Resolved>cached(DnsProtocol.Resolve request)static DnsExtcreateExtension(ExtendedActorSystem system)static booleanequals(java.lang.Object other)static DnsExtget(ActorSystem system)Java API: retrieve the Udp extension for the given system.static DnsExtget(ClassicActorSystemProvider system)static inthashCode()static Dns$lookup()scala.Option<DnsProtocol.Resolved>resolve(DnsProtocol.Resolve request, ActorSystem system, ActorRef sender)
-
-
-
Method Detail
-
lookup
public static Dns$ lookup()
-
createExtension
public static DnsExt createExtension(ExtendedActorSystem system)
-
get
public static DnsExt get(ActorSystem system)
Java API: retrieve the Udp extension for the given system.
-
get
public static DnsExt get(ClassicActorSystemProvider system)
-
apply
public static T apply(ActorSystem system)
-
apply
public static T apply(ClassicActorSystemProvider system)
-
hashCode
public static final int hashCode()
-
equals
public static final boolean equals(java.lang.Object other)
-
cached
public scala.Option<DnsProtocol.Resolved> cached(DnsProtocol.Resolve request)
-
resolve
public scala.Option<DnsProtocol.Resolved> resolve(DnsProtocol.Resolve request, ActorSystem system, ActorRef sender)
-
-