@Deprecated public enum GlobalStatus extends Enum<GlobalStatus>
| Enum Constant and Description |
|---|
AsyncCommitting
Deprecated.
All branches can be async committed.
|
Begin
Deprecated.
The Begin.
|
CommitFailed
Deprecated.
The Commit failed.
|
CommitRetrying
Deprecated.
The Commit retrying.
|
CommitRetryTimeout
Deprecated.
The commit retry Timeout .
|
Committed
Deprecated.
PHASE 2: Final Status: will NOT change any more.
|
Committing
Deprecated.
PHASE 2: Running Status: may be changed any time.
|
Finished
Deprecated.
The Finished.
|
Rollbacked
Deprecated.
The Rollbacked.
|
RollbackFailed
Deprecated.
The Rollback failed.
|
Rollbacking
Deprecated.
Rollbacking global status.
|
RollbackRetrying
Deprecated.
The Rollback retrying.
|
RollbackRetryTimeout
Deprecated.
The rollback retry Timeout .
|
TimeoutRollbacked
Deprecated.
The Timeout rollbacked.
|
TimeoutRollbackFailed
Deprecated.
The Timeout rollback failed.
|
TimeoutRollbacking
Deprecated.
The Timeout rollbacking.
|
TimeoutRollbackRetrying
Deprecated.
The Timeout rollback retrying.
|
UnKnown
Deprecated.
Un known global status.
|
| Modifier and Type | Method and Description |
|---|---|
GlobalStatus |
convertGlobalStatus()
Deprecated.
|
static GlobalStatus |
get(byte code)
Deprecated.
Get global status.
|
static GlobalStatus |
get(int code)
Deprecated.
Get global status.
|
int |
getCode()
Deprecated.
Gets code.
|
static boolean |
isOnePhaseTimeout(GlobalStatus status)
Deprecated.
Is one phase timeout boolean.
|
static boolean |
isTwoPhaseHeuristic(GlobalStatus status)
Deprecated.
Is two phase heuristic boolean.
|
static boolean |
isTwoPhaseSuccess(GlobalStatus status)
Deprecated.
Is two phase success boolean.
|
static GlobalStatus |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static GlobalStatus[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GlobalStatus UnKnown
public static final GlobalStatus Begin
public static final GlobalStatus Committing
public static final GlobalStatus CommitRetrying
public static final GlobalStatus Rollbacking
public static final GlobalStatus RollbackRetrying
public static final GlobalStatus TimeoutRollbacking
public static final GlobalStatus TimeoutRollbackRetrying
public static final GlobalStatus AsyncCommitting
public static final GlobalStatus Committed
public static final GlobalStatus CommitFailed
public static final GlobalStatus Rollbacked
public static final GlobalStatus RollbackFailed
public static final GlobalStatus TimeoutRollbacked
public static final GlobalStatus TimeoutRollbackFailed
public static final GlobalStatus Finished
public static final GlobalStatus CommitRetryTimeout
public static final GlobalStatus RollbackRetryTimeout
public static GlobalStatus[] values()
for (GlobalStatus c : GlobalStatus.values()) System.out.println(c);
public static GlobalStatus 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()
public static GlobalStatus get(byte code)
code - the codepublic static GlobalStatus get(int code)
code - the codepublic static boolean isOnePhaseTimeout(GlobalStatus status)
status - the statuspublic static boolean isTwoPhaseSuccess(GlobalStatus status)
status - the statuspublic static boolean isTwoPhaseHeuristic(GlobalStatus status)
status - the statuspublic GlobalStatus convertGlobalStatus()
Copyright © 2025 Apache. All rights reserved.