| Package | Description | 
|---|---|
| org.jgroups.stack | 
 Support for managing protocol stacks. 
 | 
| org.jgroups.util | 
 Provides useful functionality which cannot be assigned to any particular other package. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static StackType | 
Configurator.determineIpVersionFromAddresses(java.util.Collection<java.net.InetAddress> addrs)
This method takes a set of InetAddresses, represented by an inetAddressmap, and:
 - if the resulting set is non-empty, goes through to see if all InetAddress-related
 user settings have a consistent IP version: v4 or v6, and throws an exception if not
 - if the resulting set is empty, sets the default IP version based on available stacks
 and if a dual stack, stack preferences
 - sets the IP version to be used in the JGroups session 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
Configurator.setDefaultValues(java.util.List<Protocol> protocols,
                StackType ip_version)  | 
static void | 
Configurator.setDefaultValues(java.util.List<ProtocolConfiguration> protocol_configs,
                java.util.List<Protocol> protocols,
                StackType ip_version)  | 
| Modifier and Type | Method and Description | 
|---|---|
static StackType | 
Util.getIpStackType()  | 
static StackType | 
StackType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static StackType[] | 
StackType.values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static java.net.InetAddress | 
Util.getLocalhost(StackType ip_version)
IP related utilities 
 | 
static boolean | 
Util.interfaceHasIPAddresses(java.net.NetworkInterface intf,
                       StackType ip_version)
A function to check if an interface supports an IP version (i.e has addresses
 defined for that IP version). 
 | 
Copyright © 1998-2020 Red Hat. All Rights Reserved.