|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AdminTransaction
An administration interface for a transaction. Allows inspection of heuristic info, as well as forced two-phase commit methods.
| Method Summary | |
|---|---|
void |
forceCommit()
Forces commit of the transaction. |
void |
forceForget()
Forces the system to forget about the transaction. |
void |
forceRollback()
Forces rollback of the transaction. |
java.lang.String[] |
getParticipantDetails()
Retrieves the descriptive details for each participant involved in this transaction. |
TxState |
getState()
Gets the transaction's state. |
java.lang.String |
getTid()
Gets the transaction identifier. |
boolean |
hasExpired()
|
boolean |
wasCommitted()
Tests if the transaction's 2PC outcome was commit. |
| Method Detail |
|---|
java.lang.String getTid()
TxState getState()
boolean wasCommitted()
void forceCommit()
throws HeurRollbackException,
HeurHazardException,
HeurMixedException,
SysException
HeurRollbackException - If rolled back in the meantime.
HeurMixedException - If part of it was rolled back.
HeurHazardException - On possible conflicts.
SysException
void forceRollback()
throws HeurCommitException,
HeurMixedException,
HeurHazardException,
SysException
HeurCommitException - If heuristically committed in the meantime.
HeurHazardException - If the state is not certain.
HeurMixedException - If partially rolled back.
SysExceptionvoid forceForget()
java.lang.String[] getParticipantDetails()
boolean hasExpired()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||