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

public static enum FailureClassifier.Verdict extends Enum<FailureClassifier.Verdict>
What an exception tells us about the cluster that threw it.
  • Enum Constant Details

    • CLUSTER_UNAVAILABLE

      public static final FailureClassifier.Verdict CLUSTER_UNAVAILABLE
      The cluster could not be reached; counts towards its failure window.
    • APPLICATION_ERROR

      public static final FailureClassifier.Verdict APPLICATION_ERROR
      The cluster answered and rejected the request; says nothing about cluster health.
    • QUIESCED

      public static final FailureClassifier.Verdict QUIESCED
      The cluster is alive but quiesced, so it is temporarily refusing operations.
  • Method Details

    • values

      public static FailureClassifier.Verdict[] 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 FailureClassifier.Verdict 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