|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.store.PageStoreInDoubtTransaction
public class PageStoreInDoubtTransaction
Represents an in-doubt transaction (a transaction in the prepare phase).
| Field Summary |
|---|
| Fields inherited from interface org.h2.store.InDoubtTransaction |
|---|
COMMIT, IN_DOUBT, ROLLBACK |
| Constructor Summary | |
|---|---|
PageStoreInDoubtTransaction(PageStore store,
int sessionId,
int pos,
java.lang.String transaction)
Create a new in-doubt transaction info object. |
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PageStoreInDoubtTransaction(PageStore store,
int sessionId,
int pos,
java.lang.String transaction)
store - the page storesessionId - the session idpos - the positiontransaction - the transaction name| Method Detail |
|---|
public void setState(int state)
InDoubtTransaction
setState in interface InDoubtTransactionstate - the new statepublic java.lang.String getState()
InDoubtTransaction
getState in interface InDoubtTransactionpublic java.lang.String getTransactionName()
InDoubtTransaction
getTransactionName in interface InDoubtTransaction
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||