public interface AdminTransaction
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.SysExceptionvoid 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()
Copyright © 2018. All Rights Reserved.