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 Detail

      • actorClass

        java.lang.Class<? extends Actor> actorClass()
        Deprecated.
        DNS resolver actor. Should respond to pekko.io.dns.DnsProtocol.Resolve with pekko.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
      • managerClass

        java.lang.Class<? extends Actor> managerClass()
        Deprecated.
        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 a DnsExt