Package akka.io
Interface DnsProvider
-
- All Known Implementing Classes:
InetAddressDnsProvider
public interface DnsProvider
Deprecated.Overriding the DNS implementation will be removed in future versions of Akka. Since 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 Akka versions
TODO make private and remove deprecated in 2.7.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 toDnsProtocol.Resolve
withDnsProtocol.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
-
-