@InterfaceStability.Evolving public enum AcknowledgeType extends Enum<AcknowledgeType>
| Enum Constant and Description |
|---|
ACCEPT
The record was consumed successfully.
|
REJECT
The record was not consumed successfully.
|
RELEASE
The record was not consumed successfully.
|
| Modifier and Type | Field and Description |
|---|---|
byte |
id |
| Modifier and Type | Method and Description |
|---|---|
static AcknowledgeType |
forId(byte id) |
String |
toString() |
static AcknowledgeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AcknowledgeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AcknowledgeType ACCEPT
public static final AcknowledgeType RELEASE
public static final AcknowledgeType REJECT
public static AcknowledgeType[] values()
for (AcknowledgeType c : AcknowledgeType.values()) System.out.println(c);
public static AcknowledgeType 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 toString()
toString in class Enum<AcknowledgeType>public static AcknowledgeType forId(byte id)