Package akka.io

Class Dns$

    • Field Detail

      • MODULE$

        public static final Dns$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • Dns$

        public Dns$()
    • Method Detail

      • cached

        public scala.Option<Dns.Resolved> cached​(java.lang.String name,
                                                 ActorSystem system)
        Deprecated.
        use cached(DnsProtocol.Resolve). Since 2.6.0.
        Lookup if a DNS resolved is cached. The exact behavior of caching will depend on the akka.actor.io.dns.resolver that is configured.
      • resolve

        public scala.Option<Dns.Resolved> resolve​(java.lang.String name,
                                                  ActorSystem system,
                                                  ActorRef sender)
        Deprecated.
        use resolve(DnsProtocol.Resolve). Since 2.6.0.
        If an entry is cached return it immediately. If it is not then trigger a resolve and return None.
      • get

        public DnsExt get​(ClassicActorSystemProvider system)
        Description copied from interface: ExtensionId
        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)
         

        Specified by:
        get in interface ExtensionId<DnsExt>