| Package | Description |
|---|---|
| io.seata.core.context | |
| io.seata.core.model | |
| io.seata.core.protocol.transaction |
| Modifier and Type | Method and Description |
|---|---|
static BranchType |
RootContext.getBranchType()
get the branch type
|
static BranchType |
RootContext.unbindBranchType()
unbind branch type
|
| Modifier and Type | Method and Description |
|---|---|
static void |
RootContext.bindBranchType(BranchType branchType)
bind branch type
|
static void |
RootContext.setDefaultBranchType(BranchType defaultBranchType) |
| Modifier and Type | Method and Description |
|---|---|
static BranchType |
BranchType.get(byte ordinal)
Get branch type.
|
static BranchType |
BranchType.get(int ordinal)
Get branch type.
|
static BranchType |
BranchType.get(String name)
Get branch type.
|
BranchType |
ResourceManager.getBranchType()
Get the BranchType.
|
BranchType |
Resource.getBranchType()
get resource type, AT, TCC, SAGA and XA
|
static BranchType |
BranchType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BranchType[] |
BranchType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
BranchStatus |
ResourceManagerInbound.branchCommit(BranchType branchType,
String xid,
long branchId,
String resourceId,
String applicationData)
Commit a branch transaction.
|
Long |
ResourceManagerOutbound.branchRegister(BranchType branchType,
String resourceId,
String clientId,
String xid,
String applicationData,
String lockKeys)
Branch register long.
|
void |
ResourceManagerOutbound.branchReport(BranchType branchType,
String xid,
long branchId,
BranchStatus status,
String applicationData)
Branch report.
|
BranchStatus |
ResourceManagerInbound.branchRollback(BranchType branchType,
String xid,
long branchId,
String resourceId,
String applicationData)
Rollback a branch transaction.
|
boolean |
ResourceManagerOutbound.lockQuery(BranchType branchType,
String resourceId,
String xid,
String lockKeys)
Lock query boolean.
|
| Modifier and Type | Field and Description |
|---|---|
protected BranchType |
AbstractBranchEndRequest.branchType
The Branch type.
|
protected BranchType |
UndoLogDeleteRequest.branchType
The Branch type.
|
| Modifier and Type | Method and Description |
|---|---|
BranchType |
BranchReportRequest.getBranchType()
Gets branch type.
|
BranchType |
BranchRegisterRequest.getBranchType()
Gets branch type.
|
BranchType |
AbstractBranchEndRequest.getBranchType()
Gets branch type.
|
BranchType |
UndoLogDeleteRequest.getBranchType() |
| Modifier and Type | Method and Description |
|---|---|
void |
BranchReportRequest.setBranchType(BranchType branchType)
Sets branch type.
|
void |
BranchRegisterRequest.setBranchType(BranchType branchType)
Sets branch type.
|
void |
AbstractBranchEndRequest.setBranchType(BranchType branchType)
Sets branch type.
|
void |
UndoLogDeleteRequest.setBranchType(BranchType branchType) |
Copyright © 2023 Seata. All rights reserved.