Interface InstanceNetworkInfoService


  • @Deprecated
    public interface InstanceNetworkInfoService
    Deprecated.
    As of AEM 6.5, see https://jira.corp.adobe.com/browse/CQ-4256396
    The InstanceNetworkInfoService provides networking information about a specific instance. Clients outside offloading must not use this interface.
    • Method Detail

      • getListeningAddresses

        java.util.Set<java.lang.String> getListeningAddresses​(InstanceDescription instance)
        Deprecated.
        Retrieves the IP addresses on which an instance listens for incoming connections.
        Parameters:
        instance - the instance
        Returns:
        a set of non-loopback IP addresses
      • getListeningPort

        int getListeningPort​(InstanceDescription instance)
        Deprecated.
        Retrieves the port on which an instances listens for incoming connections.
        Parameters:
        instance - the instance
        Returns:
        the listening port