Package com.isode.dsapi.config
Enum Class FailoverGroups.ErrorType
- All Implemented Interfaces:
Serializable,Comparable<FailoverGroups.ErrorType>,Constable
- Enclosing class:
- FailoverGroups
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDifferent DSAs are reporting different memberships for a given groupGroup 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).Different DSAs are reporting different masters for the same groupGroup has no masterGroup has no members (not sure if this will ever happen)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.A member of a group is reporting a master who isn't in the member list.A member of a group reports a master as being another member which doesn't think it's a masterA single DSA is reported by some people, but not all, as being a member of a specific groupA single DSA has been reported as being in multiple groups -
Method Summary
Modifier and TypeMethodDescriptionstatic FailoverGroups.ErrorTypeReturns the enum constant of this class with the specified name.static FailoverGroups.ErrorType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SAME_DSA_IN_MULTIPLE_GROUPS
A single DSA has been reported as being in multiple groups -
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
Different DSAs are reporting different masters for the same group -
GROUP_HAS_INCONSISTENT_MEMBERSHIP
Different DSAs are reporting different memberships for a given group -
GROUP_HAS_NO_MASTER
Group has no master -
GROUP_HAS_NO_MEMBERS
Group has no members (not sure if this will ever happen) -
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 oneMEMBER_HAS_MASTER_WHICH_IS_NOT_MEMBER -
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
A member of a group is reporting a master who isn't in the member list. If you get this then you'll also haveGROUP_HAS_MASTER_WHICH_IS_NOT_MEMBER -
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
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
-