Enum Class FailoverGroups.ErrorType

java.lang.Object
java.lang.Enum<FailoverGroups.ErrorType>
com.isode.dsapi.config.FailoverGroups.ErrorType
All Implemented Interfaces:
Serializable, Comparable<FailoverGroups.ErrorType>, Constable
Enclosing class:
FailoverGroups

public static enum FailoverGroups.ErrorType extends Enum<FailoverGroups.ErrorType>
  • Enum Constant Details

    • SAME_DSA_IN_MULTIPLE_GROUPS

      public static final FailoverGroups.ErrorType SAME_DSA_IN_MULTIPLE_GROUPS
      A single DSA has been reported as being in multiple groups
    • MEMBERSHIP_DISPUTED

      public static final FailoverGroups.ErrorType MEMBERSHIP_DISPUTED
      A single DSA is reported by some people, but not all, as being a member of a specific group
    • GROUP_HAS_MULTIPLE_MASTERS

      public static final FailoverGroups.ErrorType GROUP_HAS_MULTIPLE_MASTERS
      Different DSAs are reporting different masters for the same group
    • GROUP_HAS_INCONSISTENT_MEMBERSHIP

      public static final FailoverGroups.ErrorType GROUP_HAS_INCONSISTENT_MEMBERSHIP
      Different DSAs are reporting different memberships for a given group
    • GROUP_HAS_NO_MASTER

      public static final FailoverGroups.ErrorType GROUP_HAS_NO_MASTER
      Group has no master
    • GROUP_HAS_NO_MEMBERS

      public static final FailoverGroups.ErrorType GROUP_HAS_NO_MEMBERS
      Group has no members (not sure if this will ever happen)
    • GROUP_HAS_MASTER_WHICH_IS_NOT_MEMBER

      public static final FailoverGroups.ErrorType GROUP_HAS_MASTER_WHICH_IS_NOT_MEMBER
      Group has a master which isn't a member (you could possibly have more than one of these error for a group, if there are also conflicting reports of who the master is). If you have this then you'll also have at least one MEMBER_HAS_MASTER_WHICH_IS_NOT_MEMBER
    • MEMBER_HAS_INCORRECT_MEMBERLIST

      public static final FailoverGroups.ErrorType MEMBER_HAS_INCORRECT_MEMBERLIST
      A member of a group is reporting a list of members which is not the same as the "actual" list of members that the master has.
    • MEMBER_HAS_MASTER_WHICH_IS_NOT_MEMBER

      public static final FailoverGroups.ErrorType MEMBER_HAS_MASTER_WHICH_IS_NOT_MEMBER
      A member of a group is reporting a master who isn't in the member list. If you get this then you'll also have GROUP_HAS_MASTER_WHICH_IS_NOT_MEMBER
    • MEMBER_REPORTS_WRONG_MASTER

      public static final FailoverGroups.ErrorType MEMBER_REPORTS_WRONG_MASTER
      A member of a group reports a master as being another member which doesn't think it's a master
  • Method Details

    • values

      public static FailoverGroups.ErrorType[] 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 FailoverGroups.ErrorType 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