object Dns extends ExtensionId[DnsExt] with ExtensionIdProvider
- Alphabetic
- By Inheritance
- Dns
- ExtensionIdProvider
- ExtensionId
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Deprecated Type Members
- case class Resolve(name: String) extends Command with ConsistentHashable with Product with Serializable
- Annotations
- @deprecated
- Deprecated
(Since version Akka 2.6.0) Use cached(DnsProtocol.Resolve)
- case class Resolved(name: String, ipv4: Seq[Inet4Address], ipv6: Seq[Inet6Address]) extends Command with Product with Serializable
- Annotations
- @deprecated
- Deprecated
(Since version Akka 2.6.0) Use cached(DnsProtocol.Resolved)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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 pekko.actor.io.dns.resolver that is configured.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def createExtension(system: ExtendedActorSystem): DnsExt
Is used by Pekko to instantiate the Extension identified by this ExtensionId, internal use only.
Is used by Pekko to instantiate the Extension identified by this ExtensionId, internal use only.
- Definition Classes
- Dns → ExtensionId
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def equals(other: Any): Boolean
- Definition Classes
- ExtensionId → AnyRef → Any
- 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
- Dns → ExtensionId
- 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
- Dns → ExtensionId
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def hashCode(): Int
- Definition Classes
- ExtensionId → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lookup: Dns
Returns the canonical ExtensionId for this Extension
Returns the canonical ExtensionId for this Extension
- Definition Classes
- Dns → ExtensionIdProvider
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- 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.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- 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 pekko.actor.io.dns.resolver that is configured.
- Annotations
- @deprecated
- Deprecated
(Since version Akka 2.6.0) use cached(DnsProtocol.Resolve)
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- 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 Akka 2.6.0) use resolve(DnsProtocol.Resolve)
- object Resolved extends Serializable
- Annotations
- @deprecated
- Deprecated
(Since version Akka 2.6.0) Use cached(DnsProtocol.Resolved)