public enum ConsumeOrderlyStatus extends java.lang.Enum<ConsumeOrderlyStatus>
Enum Constant and Description |
---|
COMMIT
Deprecated.
|
ROLLBACK
Deprecated.
|
SUCCESS
Success consumption
|
SUSPEND_CURRENT_QUEUE_A_MOMENT
Suspend current queue a moment
|
Modifier and Type | Method and Description |
---|---|
static ConsumeOrderlyStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConsumeOrderlyStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsumeOrderlyStatus SUCCESS
@Deprecated public static final ConsumeOrderlyStatus ROLLBACK
@Deprecated public static final ConsumeOrderlyStatus COMMIT
public static final ConsumeOrderlyStatus SUSPEND_CURRENT_QUEUE_A_MOMENT
public static ConsumeOrderlyStatus[] values()
for (ConsumeOrderlyStatus c : ConsumeOrderlyStatus.values()) System.out.println(c);
public static ConsumeOrderlyStatus 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