Packages

c

akka.io.dns.internal

AsyncDnsCache

class AsyncDnsCache extends Dns with PeriodicCacheCleanup

Internal API

Annotations
@InternalApi()
Source
AsyncDnsCache.scala
Linear Supertypes
PeriodicCacheCleanup, Dns, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AsyncDnsCache
  2. PeriodicCacheCleanup
  3. Dns
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AsyncDnsCache()

Value Members

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

    Gets any IPv4 and IPv6 cached entries.

    Gets any IPv4 and IPv6 cached entries. To get Srv or just one type use DnsProtocol

    Definition Classes
    AsyncDnsCacheDns
  2. final def cleanup(): Unit
    Definition Classes
    AsyncDnsCache → PeriodicCacheCleanup
    Annotations
    @tailrec()
  3. 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.

    Definition Classes
    Dns