|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arjuna.ats.jta.utils.XAHelper
public class XAHelper
Some useful utility routines.
Constructor Summary | |
---|---|
XAHelper()
|
Method Summary | |
---|---|
static String |
printXAErrorCode(XAException e)
Print a human-readable version of the XAException. |
static boolean |
sameTransaction(Xid x1,
Xid x2)
Compares two Xid instances at the gtid level only. |
static boolean |
sameXID(Xid x1,
Xid x2)
Compares two Xid instances. |
static String |
xidToString(Xid xid)
get a string representing anyones Xid similar too, but not the same as OTS_Transaction/xa/XID.toString() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XAHelper()
Method Detail |
---|
public static String printXAErrorCode(XAException e)
public static boolean sameXID(Xid x1, Xid x2)
x1
- first Xidx2
- second Xid
true
if the two instances are the same,
false
otherwise.public static boolean sameTransaction(Xid x1, Xid x2)
x1
- first Xidx2
- second Xid
true
if the two instances are the same,
false
otherwise.public static String xidToString(Xid xid)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |