|
||||||||||
| 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,
Xid xid)
Commit the specified branch of a dangling transaction. |
static Set |
recover(XAResourceHolderState xaResourceHolderState)
Run the recovery process on the target resource. |
static boolean |
rollback(XAResourceHolderState xaResourceHolderState,
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 Set recover(XAResourceHolderState xaResourceHolderState)
throws XAException
xaResourceHolderState - the XAResourceHolderState to recover.
XAException - if XAResource.recover(int) calls fail.
public static boolean commit(XAResourceHolderState xaResourceHolderState,
Xid xid)
xaResourceHolderState - the XAResourceHolderState to commit the branch on.xid - the Xid to commit.
public static boolean rollback(XAResourceHolderState xaResourceHolderState,
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 | |||||||||