public static enum CircuitBreakerConfig.SlidingWindowType extends java.lang.Enum<CircuitBreakerConfig.SlidingWindowType>
| Enum Constant and Description |
|---|
COUNT_BASED |
TIME_BASED |
| Modifier and Type | Method and Description |
|---|---|
static CircuitBreakerConfig.SlidingWindowType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CircuitBreakerConfig.SlidingWindowType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CircuitBreakerConfig.SlidingWindowType TIME_BASED
public static final CircuitBreakerConfig.SlidingWindowType COUNT_BASED
public static CircuitBreakerConfig.SlidingWindowType[] values()
for (CircuitBreakerConfig.SlidingWindowType c : CircuitBreakerConfig.SlidingWindowType.values()) System.out.println(c);
public static CircuitBreakerConfig.SlidingWindowType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null