public final class TransactionTypeHolder extends Object
| Constructor and Description |
|---|
TransactionTypeHolder() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clear()
Clear transaction type for current thread.
|
static TransactionType |
get()
Get transaction type for current thread.
|
static void |
set(TransactionType transactionType)
Set transaction type for current thread.
|
public static TransactionType get()
public static void set(TransactionType transactionType)
transactionType - transaction typepublic static void clear()
Copyright © 2020 The Apache Software Foundation. All rights reserved.