public static enum OciCircuitBreaker.Config.SlidingWindowType extends Enum<OciCircuitBreaker.Config.SlidingWindowType>
Enum Constant and Description |
---|
COUNT_BASED |
TIME_BASED |
Modifier and Type | Method and Description |
---|---|
static OciCircuitBreaker.Config.SlidingWindowType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OciCircuitBreaker.Config.SlidingWindowType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OciCircuitBreaker.Config.SlidingWindowType TIME_BASED
public static final OciCircuitBreaker.Config.SlidingWindowType COUNT_BASED
public static OciCircuitBreaker.Config.SlidingWindowType[] values()
for (OciCircuitBreaker.Config.SlidingWindowType c : OciCircuitBreaker.Config.SlidingWindowType.values()) System.out.println(c);
public static OciCircuitBreaker.Config.SlidingWindowType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016–2024. All rights reserved.