class SimpleDnsCache extends Dns with PeriodicCacheCleanup with NoSerializationVerificationNeeded

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

Value Members

  1. def cached(request: Resolve): Option[Resolved]
    Definition Classes
    SimpleDnsCacheDns
  2. 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

    This method is deprecated and involves a copy from the new protocol to remain compatible

    Definition Classes
    SimpleDnsCacheDns
    Annotations
    @nowarn()
  3. final def cleanup(): Unit
    Definition Classes
    SimpleDnsCache → PeriodicCacheCleanup
    Annotations
    @tailrec()
  4. def resolve(request: Resolve, system: ActorSystem, sender: ActorRef): Option[Resolved]
    Definition Classes
    Dns

Deprecated Value Members

  1. 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
    Annotations
    @deprecated
    Deprecated

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