|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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 |
public void commit(Xid xid,
boolean onePhase)
throws XAException
xid - the xidonePhase - true for one phase commit, false for two phase
XAException - for an error
public void forget(Xid xid)
throws XAException
xid - the xid
XAException - for an error
public int prepare(Xid xid)
throws XAException
xid - the xid
XAException - for an error
public void rollback(Xid xid)
throws XAException
xid - the xid
XAException - for an error
public 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 | ||||||||||