object Dns extends ExtensionId[DnsExt] with ExtensionIdProvider

Source
Dns.scala
Content Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Dns
  2. ExtensionIdProvider
  3. ExtensionId
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait Command extends AnyRef
  2. case class Resolve(name: String) extends Command with ConsistentHashable with Product with Serializable
  3. case class Resolved(name: String, ipv4: Seq[Inet4Address], ipv6: Seq[Inet6Address]) extends Command with Product with Serializable

Value Members

  1. def apply(system: ActorSystem): DnsExt

    Returns an instance of the extension identified by this ExtensionId instance.

    Returns an instance of the extension identified by this ExtensionId instance.

    Definition Classes
    ExtensionId
  2. def cached(name: String)(system: ActorSystem): 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.

  3. def createExtension(system: ExtendedActorSystem): DnsExt

    Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.

    Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.

    Definition Classes
    DnsExtensionId
  4. final def equals(other: Any): Boolean
    Definition Classes
    ExtensionId → AnyRef → Any
  5. def get(system: ActorSystem): DnsExt

    Java API: retrieve the Udp extension for the given system.

    Java API: retrieve the Udp extension for the given system.

    Definition Classes
    DnsExtensionId
  6. final def hashCode(): Int
    Definition Classes
    ExtensionId → AnyRef → Any
  7. def lookup(): Dns.type

    Returns the canonical ExtensionId for this Extension

    Returns the canonical ExtensionId for this Extension

    Definition Classes
    DnsExtensionIdProvider
  8. 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.

  9. object Resolved extends Serializable