Package alluxio.util.network
Interface NetworkAddressUtils.ServiceAttributeProvider
-
- All Known Implementing Classes:
NetworkAddressUtils.ServiceType
- Enclosing class:
- NetworkAddressUtils
public static interface NetworkAddressUtils.ServiceAttributeProvider
An interface to get service attributes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PropertyKey
getBindHostKey()
Gets the key of bind hostname.int
getDefaultPort()
Gets the default port number on service.PropertyKey
getHostNameKey()
Gets the key of connect hostname.PropertyKey
getPortKey()
Gets the key of service port.java.lang.String
getServiceName()
Gets service name.
-
-
-
Method Detail
-
getServiceName
java.lang.String getServiceName()
Gets service name.- Returns:
- service name
-
getHostNameKey
PropertyKey getHostNameKey()
Gets the key of connect hostname.- Returns:
- key of connect hostname
-
getBindHostKey
PropertyKey getBindHostKey()
Gets the key of bind hostname.- Returns:
- key of bind hostname
-
getPortKey
PropertyKey getPortKey()
Gets the key of service port.- Returns:
- key of service port
-
getDefaultPort
int getDefaultPort()
Gets the default port number on service.- Returns:
- default port
-
-