Enum Class AddressGenerator

java.lang.Object
java.lang.Enum<AddressGenerator>
org.wildfly.clustering.server.jgroups.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
  • Enum Constant Details

    • UUID

      public static final AddressGenerator UUID
      Generates UUID instances
    • EXTENDED_UUID

      public static final AddressGenerator EXTENDED_UUID
      Generates ExtendedUUID instances
  • Method Details

    • values

      public static AddressGenerator[] 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

      public static AddressGenerator valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • generateAddress

      @Deprecated public org.jgroups.Address generateAddress()
      Deprecated.
      Specified by:
      generateAddress in interface org.jgroups.stack.AddressGenerator
    • generateAddress

      public org.jgroups.Address generateAddress(String name)
      Specified by:
      generateAddress in interface org.jgroups.stack.AddressGenerator