public enum HystrixIsolationModeEnum extends java.lang.Enum<HystrixIsolationModeEnum>
| Enum Constant and Description |
|---|
SEMAPHORE
semaphore mode.
|
THREAD_POOL
thread pool mode.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
get code.
|
java.lang.String |
getName()
get name.
|
static HystrixIsolationModeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HystrixIsolationModeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HystrixIsolationModeEnum THREAD_POOL
public static final HystrixIsolationModeEnum SEMAPHORE
public static HystrixIsolationModeEnum[] values()
for (HystrixIsolationModeEnum c : HystrixIsolationModeEnum.values()) System.out.println(c);
public static HystrixIsolationModeEnum 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 nullpublic int getCode()
public java.lang.String getName()
Copyright © 2024 The Apache Software Foundation. All rights reserved.