public enum RetStatus extends Enum<RetStatus>
| Enum Constant and Description |
|---|
RetFail
invoke fail
|
RetFlowControl
request cancel by flow control
|
RetReject
reject request by circuitbreaking
|
RetSuccess
invoke success
|
RetTimeout
invoke timeout
|
RetUnknown
unknown status
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDesc() |
static RetStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RetStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RetStatus RetUnknown
public static final RetStatus RetSuccess
public static final RetStatus RetFail
public static final RetStatus RetTimeout
public static final RetStatus RetReject
public static final RetStatus RetFlowControl
public static RetStatus[] values()
for (RetStatus c : RetStatus.values()) System.out.println(c);
public static RetStatus 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 nullpublic String getDesc()
Copyright © 2024. All rights reserved.