|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.slide.transaction.SlideXid
Xid implementation.
| Field Summary |
| Fields inherited from interface javax.transaction.xa.Xid |
MAXBQUALSIZE, MAXGTRIDSIZE |
| Constructor Summary | |
SlideXid(byte[] globalTransactionId,
int formatId,
byte[] branchQualifier)
Constructor. |
|
| Method Summary | |
byte[] |
getBranchQualifier()
Obtain the transaction branch identifier part of XID as an array of bytes. |
int |
getFormatId()
Obtain the format identifier part of the XID. |
byte[] |
getGlobalTransactionId()
Obtain the global transaction identifier part of XID as an array of bytes. |
(package private) javax.transaction.xa.Xid |
newBranch(int branchNumber)
Create a new branch based on this Xid. |
java.lang.String |
toString()
Obtain a String representation of this xid. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SlideXid(byte[] globalTransactionId,
int formatId,
byte[] branchQualifier)
| Method Detail |
public int getFormatId()
getFormatId in interface javax.transaction.xa.Xidpublic byte[] getGlobalTransactionId()
getGlobalTransactionId in interface javax.transaction.xa.Xidpublic byte[] getBranchQualifier()
getBranchQualifier in interface javax.transaction.xa.Xidpublic java.lang.String toString()
javax.transaction.xa.Xid newBranch(int branchNumber)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||