Package | Description |
---|---|
alluxio.util.network |
Modifier and Type | Class and Description |
---|---|
static class |
NetworkAddressUtils.ServiceType
Different types of services that client uses to connect.
|
Modifier and Type | Method and Description |
---|---|
static InetSocketAddress |
NetworkAddressUtils.getBindAddress(NetworkAddressUtils.ServiceAttributeProvider service,
AlluxioConfiguration conf)
Helper method to get the bind hostname for a given service.
|
static String |
NetworkAddressUtils.getBindHost(NetworkAddressUtils.ServiceAttributeProvider service,
AlluxioConfiguration conf)
Helper method to get the
InetSocketAddress bind address on a given service. |
static InetSocketAddress |
NetworkAddressUtils.getConnectAddress(NetworkAddressUtils.ServiceAttributeProvider service,
AlluxioConfiguration conf)
Helper method to get the
InetSocketAddress address for client to communicate with the
service. |
static String |
NetworkAddressUtils.getConnectHost(NetworkAddressUtils.ServiceAttributeProvider service,
AlluxioConfiguration conf)
Provides an externally resolvable hostname for client to communicate with the service.
|
static int |
NetworkAddressUtils.getPort(NetworkAddressUtils.ServiceAttributeProvider service,
AlluxioConfiguration conf)
Gets the port number on a given service type.
|
Copyright © 2023. All Rights Reserved.