public interface InDoubtTransaction
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
int |
getState()
Get the state of this transaction.
|
default java.lang.String |
getStateDescription()
Get the state of this transaction as a text.
|
java.lang.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 java.lang.String getStateDescription()
java.lang.String getTransactionName()