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

      • resolve

        public scala.Option<Dns.Resolved> resolve​(java.lang.String name,
                                                  ActorSystem system,
                                                  ActorRef sender)
        If an entry is cached return it immediately. If it is not then trigger a resolve and return None.
        Parameters:
        name - (undocumented)
        system - (undocumented)
        sender - (undocumented)
        Returns:
        (undocumented)
      • createExtension

        public DnsExt createExtension​(ExtendedActorSystem system)
        Description copied from interface: ExtensionId
        Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.
        Specified by:
        createExtension in interface ExtensionId<DnsExt>
        Parameters:
        system - (undocumented)
        Returns:
        (undocumented)
      • get

        public DnsExt get​(ActorSystem system)
        Java API: retrieve the Udp extension for the given system.
        Specified by:
        get in interface ExtensionId<DnsExt>
        Parameters:
        system - (undocumented)
        Returns:
        (undocumented)
      • 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>
        Parameters:
        system - (undocumented)
        Returns:
        (undocumented)