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