public enum PendingAckOp extends Enum<PendingAckOp>
| Modifier and Type | Field and Description |
|---|---|
static int |
ABORT_VALUE |
static int |
ACK_VALUE |
static int |
COMMIT_VALUE |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static PendingAckOp |
valueOf(int n) |
static PendingAckOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PendingAckOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PendingAckOp ACK
public static final PendingAckOp COMMIT
public static final PendingAckOp ABORT
public static final int ACK_VALUE
public static final int COMMIT_VALUE
public static final int ABORT_VALUE
public static PendingAckOp[] values()
for (PendingAckOp c : PendingAckOp.values()) System.out.println(c);
public static PendingAckOp 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 getValue()
public static PendingAckOp valueOf(int n)
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.