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