| Package | Description |
|---|---|
| tachyon.util.network |
| Modifier and Type | Method and Description |
|---|---|
static NetworkAddressUtils.ServiceType |
NetworkAddressUtils.ServiceType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkAddressUtils.ServiceType[] |
NetworkAddressUtils.ServiceType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static InetSocketAddress |
NetworkAddressUtils.getBindAddress(NetworkAddressUtils.ServiceType service,
TachyonConf conf)
Helper method to get the
InetSocketAddress bind address on a given service. |
static InetSocketAddress |
NetworkAddressUtils.getConnectAddress(NetworkAddressUtils.ServiceType service,
TachyonConf conf)
Helper method to get the
InetSocketAddress address for client to communicate with the
service. |
static String |
NetworkAddressUtils.getConnectHost(NetworkAddressUtils.ServiceType service,
TachyonConf conf)
Provides an externally resolvable hostname for client to communicate with the service.
|
static int |
NetworkAddressUtils.getPort(NetworkAddressUtils.ServiceType service,
TachyonConf conf)
Gets the port number on a given service type.
|
Copyright © 2015. All Rights Reserved.