public class PageStoreInDoubtTransaction extends java.lang.Object implements InDoubtTransaction
COMMIT, IN_DOUBT, ROLLBACK| Constructor and Description |
|---|
PageStoreInDoubtTransaction(PageStore store,
int sessionId,
int pos,
java.lang.String transaction)
Create a new in-doubt transaction info object.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public PageStoreInDoubtTransaction(PageStore store, int sessionId, int pos, java.lang.String transaction)
store - the page storesessionId - the session idpos - the positiontransaction - the transaction namepublic void setState(int state)
InDoubtTransactionsetState in interface InDoubtTransactionstate - the new statepublic java.lang.String getState()
InDoubtTransactiongetState in interface InDoubtTransactionpublic java.lang.String getTransactionName()
InDoubtTransactiongetTransactionName in interface InDoubtTransaction