class SimpleDnsCache extends Dns with PeriodicCacheCleanup with NoSerializationVerificationNeeded
- Source
- SimpleDnsCache.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- SimpleDnsCache
- NoSerializationVerificationNeeded
- PeriodicCacheCleanup
- Dns
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new SimpleDnsCache()
Value Members
- def cached(request: Resolve): [Resolved]
- Definition Classes
- → Dns
- def cached(name: String): [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
- → Dns
- Annotations
- @nowarn()
- final def cleanup(): Unit
- Definition Classes
- SimpleDnsCache → PeriodicCacheCleanup
- Annotations
- @tailrec()
- def resolve(request: Resolve, system: ActorSystem, sender: ActorRef): [Resolved]
- Definition Classes
- Dns
Deprecated Value Members
- def resolve(name: String)(system: ActorSystem, sender: ActorRef): [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)