public interface InDoubtTransaction
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
COMMIT
The transaction state meaning this transaction is committed.
|
static int |
IN_DOUBT
The transaction state meaning this transaction is not committed yet, but
also not rolled back (in-doubt).
|
static int |
ROLLBACK
The transaction state meaning this transaction is rolled back.
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getState()
Get the state of this transaction.
|
default String |
getStateDescription()
Get the state of this transaction as a text.
|
String |
getTransactionName()
Get the name of the transaction.
|
void |
setState(int state)
Change the state of this transaction.
|
static final int IN_DOUBT
static final int COMMIT
static final int ROLLBACK
void setState(int state)
state - the new stateint getState()
default String getStateDescription()
String getTransactionName()
Copyright © 2022. All rights reserved.