XATerminatorpublic interface XATerminator The XATerminator interface is used for transaction completion and
crash recovery flows. |
Methods Summary |
---|
public void | commit(javax.transaction.xa.Xid xid, boolean onePhase)Commits the global transaction specified by xid.
| public void | forget(javax.transaction.xa.Xid xid)Tells the resource manager to forget about a heuristically
completed transaction branch.
| public int | prepare(javax.transaction.xa.Xid xid)Ask the resource manager to prepare for a transaction commit
of the transaction specified in xid.
| public javax.transaction.xa.Xid[] | recover(int flag)Obtains a list of prepared transaction branches from a resource
manager. The transaction manager calls this method during recovery
to obtain the list of transaction branches that are currently in
prepared or heuristically completed states.
| public void | rollback(javax.transaction.xa.Xid xid)Informs the resource manager to roll back work done on behalf
of a transaction branch.
|
|