| javax.resource.spi.XATerminator
XATerminator | public interface XATerminator (Code) | | Transaction completion and crash recovery
|
commit | void commit(Xid xid, boolean onePhase) throws XAException(Code) | | Commit the transaction
Parameters: xid - the xid Parameters: onePhase - true for one phase commit, false for two phase throws: XAException - for an error |
prepare | int prepare(Xid xid) throws XAException(Code) | | Prepare the transaction
Parameters: xid - the xid Either XA_RDONLY or XA_OK throws: XAException - for an error |
recover | Xid[] recover(int flag) throws XAException(Code) | | Retrieve xids that are recoverable
Parameters: flag - the recovery option throws: XAException - for an error |
|
|