public class PageStoreInDoubtTransaction extends Object implements InDoubtTransaction
COMMIT, IN_DOUBT, ROLLBACK
Constructor and Description |
---|
PageStoreInDoubtTransaction(PageStore store,
int sessionId,
int pos,
String transaction)
Create a new in-doubt transaction info object.
|
Modifier and Type | Method and Description |
---|---|
String |
getState()
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.
|
public void setState(int state)
InDoubtTransaction
setState
in interface InDoubtTransaction
state
- the new statepublic String getState()
InDoubtTransaction
getState
in interface InDoubtTransaction
public String getTransactionName()
InDoubtTransaction
getTransactionName
in interface InDoubtTransaction
Copyright © 2017 JBoss by Red Hat. All rights reserved.