Enum Class FailureClassifier.Verdict
java.lang.Object
java.lang.Enum<FailureClassifier.Verdict>
org.openspaces.core.multicluster.internal.health.FailureClassifier.Verdict
- All Implemented Interfaces:
Serializable, Comparable<FailureClassifier.Verdict>, Constable
- Enclosing class:
FailureClassifier
What an exception tells us about the cluster that threw it.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe cluster answered and rejected the request; says nothing about cluster health.The cluster could not be reached; counts towards its failure window.The cluster is alive but quiesced, so it is temporarily refusing operations. -
Method Summary
Modifier and TypeMethodDescriptionstatic FailureClassifier.VerdictReturns the enum constant of this class with the specified name.static FailureClassifier.Verdict[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLUSTER_UNAVAILABLE
The cluster could not be reached; counts towards its failure window. -
APPLICATION_ERROR
The cluster answered and rejected the request; says nothing about cluster health. -
QUIESCED
The cluster is alive but quiesced, so it is temporarily refusing operations.
-
-
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
-