|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CompositeTerminator
A handle to terminate the composite transaction.
| Method Summary | |
|---|---|
void |
commit()
Deprecated. Commit the composite transaction. |
void |
rollback()
Deprecated. Rollback the current transaction. |
| Method Detail |
|---|
void commit()
throws HeurRollbackException,
HeurMixedException,
HeurHazardException,
SysException,
SecurityException,
RollbackException
HeurRollbackException - On heuristic rollback.
HeurMixedException - On heuristic mixed outcome.
SysException - For unexpected failures.
SecurityException - If calling thread does not have
right to commit.
HeurHazardException - In case of heuristic hazard.
RollbackException - If the transaction was rolled back
before prepare.
void rollback()
throws IllegalStateException,
SysException
IllegalStateException - If prepared or inactive.
SysException - If unexpected error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||