|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XATerminator
Transaction completion and crash recovery
| Method Summary | |
|---|---|
void |
commit(Xid xid,
boolean onePhase)
Commit the transaction |
void |
forget(Xid xid)
Forget the transaction |
int |
prepare(Xid xid)
Prepare the transaction |
Xid[] |
recover(int flag)
Retrieve xids that are recoverable |
void |
rollback(Xid xid)
Rollback the transaction |
| Method Detail |
|---|
void commit(Xid xid,
boolean onePhase)
throws XAException
xid - the xidonePhase - true for one phase commit, false for two phase
XAException - for an error
void forget(Xid xid)
throws XAException
xid - the xid
XAException - for an error
int prepare(Xid xid)
throws XAException
xid - the xid
XAException - for an error
void rollback(Xid xid)
throws XAException
xid - the xid
XAException - for an error
Xid[] recover(int flag)
throws XAException
flag - the recovery option
XAException - for an error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||