|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbitronix.tm.recovery.RecoveryHelper
public class RecoveryHelper
Reovery helper methods.
| Constructor Summary | |
|---|---|
RecoveryHelper()
|
|
| Method Summary | |
|---|---|
static boolean |
commit(XAResourceHolderState xaResourceHolderState,
javax.transaction.xa.Xid xid)
Commit the specified branch of a dangling transaction. |
static java.util.Set<BitronixXid> |
recover(XAResourceHolderState xaResourceHolderState)
Run the recovery process on the target resource. |
static boolean |
rollback(XAResourceHolderState xaResourceHolderState,
javax.transaction.xa.Xid xid)
Rollback the specified branch of a dangling transaction. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RecoveryHelper()
| Method Detail |
|---|
public static java.util.Set<BitronixXid> recover(XAResourceHolderState xaResourceHolderState)
throws javax.transaction.xa.XAException
xaResourceHolderState - the XAResourceHolderState to recover.
javax.transaction.xa.XAException - if XAResource.recover(int) calls fail.
public static boolean commit(XAResourceHolderState xaResourceHolderState,
javax.transaction.xa.Xid xid)
xaResourceHolderState - the XAResourceHolderState to commit the branch on.xid - the Xid to commit.
public static boolean rollback(XAResourceHolderState xaResourceHolderState,
javax.transaction.xa.Xid xid)
xaResourceHolderState - the XAResourceHolderState to rollback the branch on.xid - the Xid to rollback.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||