public enum LogTxStatus extends Enum<LogTxStatus>
Enum Constant and Description |
---|
COMPLETE_SUCCESS |
PRECOMMIT |
PRIMARY_SUCCESS |
SECONDARY_FAILURE |
SECONDARY_SUCCESS |
USER_LOG |
Modifier and Type | Method and Description |
---|---|
boolean |
isPrimarySuccess() |
boolean |
isSuccess() |
static LogTxStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogTxStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogTxStatus PRECOMMIT
public static final LogTxStatus PRIMARY_SUCCESS
public static final LogTxStatus COMPLETE_SUCCESS
public static final LogTxStatus SECONDARY_SUCCESS
public static final LogTxStatus SECONDARY_FAILURE
public static final LogTxStatus USER_LOG
public static LogTxStatus[] values()
for (LogTxStatus c : LogTxStatus.values()) System.out.println(c);
public static LogTxStatus 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 boolean isPrimarySuccess()
public boolean isSuccess()
Copyright © 2012–2024. All rights reserved.