|
|||||||||||
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 errorpublic void forget(Xid xid) throws XAException
xid
- the xid
XAException
- for an errorpublic int prepare(Xid xid) throws XAException
xid
- the xid
XAException
- for an errorpublic void rollback(Xid xid) throws XAException
xid
- the xid
XAException
- for an errorpublic 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 |