abstract class Dns extends AnyRef

Not for user extension.

This used to be a supported extension point but will be removed in future versions of Akka.

Annotations
@DoNotInherit()
Source
Dns.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Dns
  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

Instance Constructors

  1. new Dns()

Value Members

  1. def cached(request: Resolve): Option[Resolved]
  2. def resolve(request: Resolve, system: ActorSystem, sender: ActorRef): Option[Resolved]

Deprecated Value Members

  1. def cached(name: String): Option[Resolved]

    Lookup if a DNS resolved is cached.

    Lookup if a DNS resolved is cached. The exact behavior of caching will depend on the akka.actor.io.dns.resolver that is configured.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.0) Use cached(DnsProtocol.Resolve)

  2. def resolve(name: String)(system: ActorSystem, sender: ActorRef): Option[Resolved]

    If an entry is cached return it immediately.

    If an entry is cached return it immediately. If it is not then trigger a resolve and return None.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.0) Use resolve(DnsProtocol.Resolve)