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)