| 程序包 | 说明 |
|---|---|
| org.apache.shardingsphere.transaction | |
| org.apache.shardingsphere.transaction.core | |
| org.apache.shardingsphere.transaction.spi |
| 限定符和类型 | 方法和说明 |
|---|---|
ShardingTransactionManager |
ShardingTransactionManagerEngine.getTransactionManager(TransactionType transactionType)
Get sharding transaction manager.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static TransactionType |
TransactionTypeHolder.get()
Get transaction type for current thread.
|
static TransactionType |
TransactionType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static TransactionType[] |
TransactionType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
TransactionTypeHolder.set(TransactionType transactionType)
Set transaction type for current thread.
|
| 限定符和类型 | 方法和说明 |
|---|---|
TransactionType |
ShardingTransactionManager.getTransactionType()
Get transaction type.
|
Copyright © 2020 The Apache Software Foundation. All rights reserved.