public interface XATerminator
| Modifier and Type | Method and Description |
|---|---|
void |
commit(Xid xid,
boolean onePhase)
Commits a transaction.
|
void |
forget(Xid xid)
Forgets a heuristic transaction.
|
int |
prepare(Xid xid)
Prepares a transaction.
|
Xid[] |
recover(int flag)
Returns the prepared transaction branches.
|
void |
rollback(Xid xid)
Rolls back a transaction.
|
int prepare(Xid xid) throws XAException
XAExceptionvoid commit(Xid xid, boolean onePhase) throws XAException
XAExceptionvoid rollback(Xid xid) throws XAException
XAExceptionvoid forget(Xid xid) throws XAException
XAExceptionXid[] recover(int flag) throws XAException
XAException