public interface XATerminator
Modifier and Type | Method and Description |
---|---|
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
|
void commit(Xid xid, boolean onePhase) throws XAException
xid
- the xidonePhase
- true for one phase commit, false for two phaseXAException
- for an errorvoid forget(Xid xid) throws XAException
xid
- the xidXAException
- for an errorint prepare(Xid xid) throws XAException
xid
- the xidXAException
- for an errorvoid rollback(Xid xid) throws XAException
xid
- the xidXAException
- for an errorXid[] recover(int flag) throws XAException
flag
- the recovery optionXAException
- for an errorCopyright © 2013 JBoss by Red Hat. All rights reserved.