| Package | Description |
|---|---|
| io.seata.core.model | |
| io.seata.core.protocol.transaction |
| Modifier and Type | Method and Description |
|---|---|
GlobalStatus |
TransactionManager.commit(String xid)
Global commit.
|
static GlobalStatus |
GlobalStatus.get(byte code)
Get global status.
|
static GlobalStatus |
GlobalStatus.get(int code)
Get global status.
|
GlobalStatus |
TransactionManager.getStatus(String xid)
Get current status of the give transaction.
|
GlobalStatus |
TransactionManager.globalReport(String xid,
GlobalStatus globalStatus)
Global report.
|
GlobalStatus |
TransactionManager.rollback(String xid)
Global rollback.
|
static GlobalStatus |
GlobalStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GlobalStatus[] |
GlobalStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
GlobalStatus |
TransactionManager.globalReport(String xid,
GlobalStatus globalStatus)
Global report.
|
static boolean |
GlobalStatus.isOnePhaseTimeout(GlobalStatus status)
Is one phase timeout boolean.
|
static boolean |
GlobalStatus.isTwoPhaseHeuristic(GlobalStatus status)
Is two phase heuristic boolean.
|
static boolean |
GlobalStatus.isTwoPhaseSuccess(GlobalStatus status)
Is two phase success boolean.
|
| Modifier and Type | Field and Description |
|---|---|
protected GlobalStatus |
GlobalReportRequest.globalStatus
The Global status.
|
protected GlobalStatus |
AbstractGlobalEndResponse.globalStatus
The Global status.
|
| Modifier and Type | Method and Description |
|---|---|
GlobalStatus |
GlobalReportRequest.getGlobalStatus()
Gets global status.
|
GlobalStatus |
AbstractGlobalEndResponse.getGlobalStatus()
Gets global status.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GlobalReportRequest.setGlobalStatus(GlobalStatus globalStatus)
Sets global status.
|
void |
AbstractGlobalEndResponse.setGlobalStatus(GlobalStatus globalStatus)
Sets global status.
|
Copyright © 2023 Seata. All rights reserved.