Uses of Class
org.elasticsearch.common.network.NetworkUtils.StackType

Packages that use NetworkUtils.StackType
org.elasticsearch.common.network   
 

Uses of NetworkUtils.StackType in org.elasticsearch.common.network
 

Methods in org.elasticsearch.common.network that return NetworkUtils.StackType
static NetworkUtils.StackType NetworkUtils.getIpStackType()
          Tries to determine the type of IP stack from the available interfaces and their addresses and from the system properties (java.net.preferIPv4Stack and java.net.preferIPv6Addresses)
static NetworkUtils.StackType NetworkUtils.StackType.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static NetworkUtils.StackType[] NetworkUtils.StackType.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Methods in org.elasticsearch.common.network with parameters of type NetworkUtils.StackType
static InetAddress NetworkUtils.getFirstNonLoopbackAddress(NetworkInterface intf, NetworkUtils.StackType ipVersion)
          Returns the first non-loopback address on the given interface on the current host.
static InetAddress NetworkUtils.getFirstNonLoopbackAddress(NetworkUtils.StackType ip_version)
          Returns the first non-loopback address on any interface on the current host.
static InetAddress NetworkUtils.getLocalhost(NetworkUtils.StackType ip_version)
           
static boolean NetworkUtils.interfaceHasIPAddresses(NetworkInterface intf, NetworkUtils.StackType ipVersion)
          A function to check if an interface supports an IP version (i.e has addresses defined for that IP version).
 



Copyright © 2009-2012. All Rights Reserved.