public enum QuotaStatus extends Enum<QuotaStatus>
| Enum Constant and Description |
|---|
CONN_COUNT_EXCEEDED
Connection count exceeded.
|
OK
Success.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
static QuotaStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QuotaStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuotaStatus OK
public static final QuotaStatus CONN_COUNT_EXCEEDED
public static QuotaStatus[] values()
for (QuotaStatus c : QuotaStatus.values()) System.out.println(c);
public static QuotaStatus 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 int getCode()
Copyright © 2022 Alibaba Group. All rights reserved.