Package com.oracle.bmc.circuitbreaker
Enum CircuitBreakerOpenEvent.FailureCategory
- java.lang.Object
-
- java.lang.Enum<CircuitBreakerOpenEvent.FailureCategory>
-
- com.oracle.bmc.circuitbreaker.CircuitBreakerOpenEvent.FailureCategory
-
- All Implemented Interfaces:
Serializable,Comparable<CircuitBreakerOpenEvent.FailureCategory>
- Enclosing class:
- CircuitBreakerOpenEvent
public static enum CircuitBreakerOpenEvent.FailureCategory extends Enum<CircuitBreakerOpenEvent.FailureCategory>
Categories for failures observed by the diagnostic collector.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONNECTIONDNSOTHERREMOTE_HTTPTIMEOUTTLS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CircuitBreakerOpenEvent.FailureCategoryvalueOf(String name)Returns the enum constant of this type with the specified name.static CircuitBreakerOpenEvent.FailureCategory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REMOTE_HTTP
public static final CircuitBreakerOpenEvent.FailureCategory REMOTE_HTTP
-
DNS
public static final CircuitBreakerOpenEvent.FailureCategory DNS
-
CONNECTION
public static final CircuitBreakerOpenEvent.FailureCategory CONNECTION
-
TLS
public static final CircuitBreakerOpenEvent.FailureCategory TLS
-
TIMEOUT
public static final CircuitBreakerOpenEvent.FailureCategory TIMEOUT
-
OTHER
public static final CircuitBreakerOpenEvent.FailureCategory OTHER
-
-
Method Detail
-
values
public static CircuitBreakerOpenEvent.FailureCategory[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CircuitBreakerOpenEvent.FailureCategory c : CircuitBreakerOpenEvent.FailureCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CircuitBreakerOpenEvent.FailureCategory valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-