Uses of Enum Class
org.jgroups.util.StackType
Packages that use StackType
Package
Description
Support for managing protocol stacks.
Provides useful functionality which cannot be assigned to any particular other package.
-
Uses of StackType in org.jgroups.stack
Methods in org.jgroups.stack that return StackTypeModifier and TypeMethodDescriptionstatic StackTypeConfigurator.determineIpVersionFromAddresses(Collection<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 sessionMethods in org.jgroups.stack with parameters of type StackTypeModifier and TypeMethodDescriptionstatic voidConfigurator.setDefaultValues(List<ProtocolConfiguration> protocol_configs, List<Protocol> protocols, StackType ip_version) static voidConfigurator.setDefaultValues(List<Protocol> protocols, StackType ip_version) -
Uses of StackType in org.jgroups.util
Subclasses with type arguments of type StackType in org.jgroups.utilMethods in org.jgroups.util that return StackTypeModifier and TypeMethodDescriptionstatic StackTypeUtil.getIpStackType()static StackTypeReturns the enum constant of this class with the specified name.static StackType[]StackType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.jgroups.util with parameters of type StackTypeModifier and TypeMethodDescriptionstatic InetAddressUtil.getLocalhost(StackType ip_version) IP related utilitiesstatic booleanUtil.interfaceHasIPAddresses(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).