Enum Class AddressGenerator
- All Implemented Interfaces:
Serializable, Comparable<AddressGenerator>, Constable, org.jgroups.stack.AddressGenerator
public enum AddressGenerator
extends Enum<AddressGenerator>
implements org.jgroups.stack.AddressGenerator
Address generators for JGroups.
- Author:
- Paul Ferraro
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGeneratesExtendedUUIDinstancesGeneratesUUIDinstances -
Method Summary
Modifier and TypeMethodDescriptionorg.jgroups.AddressDeprecated.org.jgroups.AddressgenerateAddress(String name) static AddressGeneratorReturns the enum constant of this class with the specified name.static AddressGenerator[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UUID
GeneratesUUIDinstances -
EXTENDED_UUID
GeneratesExtendedUUIDinstances
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
generateAddress
Deprecated.- Specified by:
generateAddressin interfaceorg.jgroups.stack.AddressGenerator
-
generateAddress
- Specified by:
generateAddressin interfaceorg.jgroups.stack.AddressGenerator
-