Package org.apache.pekko.io
Interface DnsProvider
- All Known Implementing Classes:
InetAddressDnsProvider
public interface DnsProvider
Where as it is possible to plug in alternative DNS implementations it is not recommended.
Internal API
-
Method Summary
Modifier and TypeMethodDescriptionDNS resolver actor.cache()Cache implementation that can be accessed via Dns(system) to avoid asks to the resolver actors.DNS manager class.
-
Method Details
-
actorClass
DNS resolver actor. Should respond topekko.io.dns.DnsProtocol.Resolvewithpekko.io.dns.DnsProtocol.Resolved -
cache
Dns cache()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 -
managerClass
DNS manager class. Is responsible for creating resolvers and doing any cache cleanup. The DNS extension will create one of these Actors. It should have a ctr that accepts aDnsExt
-