Package com.adobe.granite.offloading.api
Interface InstanceNetworkInfoService
-
@Deprecated public interface InstanceNetworkInfoServiceDeprecated.As of AEM 6.5, see https://jira.corp.adobe.com/browse/CQ-4256396TheInstanceNetworkInfoServiceprovides networking information about a specific instance. Clients outside offloading must not use this interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.Set<java.lang.String>getListeningAddresses(InstanceDescription instance)Deprecated.Retrieves the IP addresses on which an instance listens for incoming connections.intgetListeningPort(InstanceDescription instance)Deprecated.Retrieves the port on which an instances listens for incoming connections.
-
-
-
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
-
-