|
||||||||||
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. Must ALWAYS be used to handle termination throughout the system, also for subtransactions!
Method Summary | |
---|---|
void |
commit()
Commit the composite transaction. |
void |
rollback()
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 |