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. Protected

Type Members

  1. sealed trait Command extends AnyRef

Deprecated Type Members

  1. case class Resolve(name: String) extends Command with ConsistentHashable with Product with Serializable
    Annotations
    @deprecated @nowarn()
    Deprecated

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

  2. case class Resolved(name: String, ipv4: Seq[Inet4Address], ipv6: Seq[Inet6Address]) extends Command with Product with Serializable
    Annotations
    @deprecated
    Deprecated

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(system: ClassicActorSystemProvider): 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
  5. 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
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def cached(name: dns.DnsProtocol.Resolve)(system: ActorSystem): Option[dns.DnsProtocol.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.

  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  9. 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
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. final def equals(other: Any): Boolean
    Definition Classes
    ExtensionId → AnyRef → Any
  12. def get(system: ClassicActorSystemProvider): DnsExt

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

    Returns an instance of the extension identified by this ExtensionId instance. Java API For extensions written in Scala that are to be used from Java also, this method should be overridden to get correct return type.

    override def get(system: ClassicActorSystemProvider): TheExtension = super.get(system)
    Definition Classes
    DnsExtensionId
  13. 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
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  15. final def hashCode(): Int
    Definition Classes
    ExtensionId → AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def lookup: Dns

    Returns the canonical ExtensionId for this Extension

    Returns the canonical ExtensionId for this Extension

    Definition Classes
    DnsExtensionIdProvider
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  21. def resolve(name: dns.DnsProtocol.Resolve, system: ActorSystem, sender: ActorRef): Option[dns.DnsProtocol.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.

  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. 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.

    Annotations
    @deprecated
    Deprecated

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

  2. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  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.

    Annotations
    @deprecated @nowarn()
    Deprecated

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

  4. object Resolved extends Serializable
    Annotations
    @deprecated
    Deprecated

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

Inherited from ExtensionIdProvider

Inherited from ExtensionId[DnsExt]

Inherited from AnyRef

Inherited from Any

Ungrouped