|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TerminationServer
A termination server is terminates transactions on the client's request, and does this based on root ID for efficiency.
Method Summary | |
---|---|
void |
commit(String root)
Commit the composite transaction. |
void |
rollback(String root)
Rollback the current transaction. |
Method Detail |
---|
void commit(String root) throws HeurRollbackException, HeurMixedException, SysException, SecurityException, RollbackException, RemoteException
root
- The root id to commit.
HeurRollbackException
- On heuristic rollback.
HeurMixedException
- On heuristic mixed outcome.
SysException
- For unexpected failures.
SecurityException
- If calling thread does not have
right to commit.
RollbackException
- If the transaction was rolled back
before prepare.
RemoteException
- If comm. failure happens.void rollback(String root) throws IllegalStateException, SysException, RemoteException
root
- The root id to rollback.
IllegalStateException
- If prepared or inactive.
SysException
- If unexpected error.
RemoteException
- On comm. failure.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |