Package org.apache.pekko.io
Interface DnsProvider
-
- All Known Implementing Classes:
InetAddressDnsProvider
public interface DnsProvider
Deprecated.Overriding the DNS implementation will be removed in future versions of Apache Pekko. Since Akka 2.6.0.Where as it is possible to plug in alternative DNS implementations it is not recommended.It is expected that this will be deprecated/removed in future Apache Pekko versions
TODO make private and remove deprecated in v1.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.Class<? extends Actor>
actorClass()
Deprecated.DNS resolver actor.Dns
cache()
Deprecated.Cache implementation that can be accessed via Dns(system) to avoid asks to the resolver actors.java.lang.Class<? extends Actor>
managerClass()
Deprecated.DNS manager class.
-
-
-
Method Detail
-
actorClass
java.lang.Class<? extends Actor> actorClass()
Deprecated.DNS resolver actor. Should respond topekko.io.dns.DnsProtocol.Resolve
withpekko.io.dns.DnsProtocol.Resolved
-
cache
Dns cache()
Deprecated.Cache implementation that can be accessed via Dns(system) to avoid asks to the resolver actors. It is not recommended to override the default SimpleDnsCache
-
-