|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InDoubtTransaction
Represents an in-doubt transaction (a transaction in the prepare phase).
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
java.lang.String |
getState()
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. |
Field Detail |
---|
static final int IN_DOUBT
static final int COMMIT
static final int ROLLBACK
Method Detail |
---|
void setState(int state)
state
- the new statejava.lang.String getState()
java.lang.String getTransactionName()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |