public class DcsNetworkConfiguration extends Object
Constructor and Description |
---|
DcsNetworkConfiguration(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
void |
checkCloud() |
void |
getCanonicalHostName(NetworkInterface ni,
InetAddress inet) |
String |
getExtHostAddress() |
String |
getExtInterfaceName() |
String |
getHostName() |
InetAddress |
getInetAddress(NetworkInterface ni) |
String |
getIntHostAddress() |
public void getCanonicalHostName(NetworkInterface ni, InetAddress inet) throws Exception
Exception
public InetAddress getInetAddress(NetworkInterface ni) throws Exception
Exception
public void checkCloud()
public String getHostName()
public String getIntHostAddress()
public String getExtHostAddress()
public String getExtInterfaceName()
Copyright © 2020. All rights reserved.