class SimpleDnsCache extends Dns with PeriodicCacheCleanup

Source
SimpleDnsCache.scala
Linear Supertypes
PeriodicCacheCleanup, Dns, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SimpleDnsCache
  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 SimpleDnsCache()

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.

    Definition Classes
    SimpleDnsCacheDns
  2. final def cleanup(): Unit
    Definition Classes
    SimpleDnsCache → 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