t

akka.io

DnsProvider

trait DnsProvider extends AnyRef

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

Annotations
@deprecated
Deprecated

(Since version 2.6.0) Overriding the DNS implementation will be removed in future versions of Akka

Source
DnsProvider.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DnsProvider
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def actorClass: Class[_ <: Actor]

    DNS resolver actor.

    DNS resolver actor. Should respond to akka.io.dns.DnsProtocol.Resolve with akka.io.dns.DnsProtocol.Resolved

  2. abstract def managerClass: Class[_ <: Actor]

    DNS manager class.

    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

Concrete Value Members

  1. def cache: Dns

    Cache implementation that can be accessed via Dns(system) to avoid asks to the resolver actors.

    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