public class NetworkConfiguration extends Object
Constructor and Description |
---|
NetworkConfiguration(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
void |
checkCloud() |
void |
getCanonicalHostName(NetworkInterface ni,
InetAddress inet) |
String |
getExtHostAddress() |
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()
Copyright © 2016. All rights reserved.