| Package | Description |
|---|---|
| org.apache.shardingsphere.transaction | |
| org.apache.shardingsphere.transaction.core | |
| org.apache.shardingsphere.transaction.spi |
| Modifier and Type | Method and Description |
|---|---|
ShardingTransactionManager |
ShardingTransactionManagerEngine.getTransactionManager(TransactionType transactionType)
Get sharding transaction manager.
|
| Modifier and Type | Method and Description |
|---|---|
static TransactionType |
TransactionTypeHolder.get()
Get transaction type for current thread.
|
static TransactionType |
TransactionType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionType[] |
TransactionType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
TransactionTypeHolder.set(TransactionType transactionType)
Set transaction type for current thread.
|
| Modifier and Type | Method and Description |
|---|---|
TransactionType |
ShardingTransactionManager.getTransactionType()
Get transaction type.
|
Copyright © 2020 The Apache Software Foundation. All rights reserved.