abstract class Dns extends AnyRef
Ordering
- Alphabetic
- By Inheritance
Inherited
- Dns
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Dns()
Value Members
-
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.
-
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.