|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.impl.drda.DRDAXid
class DRDAXid
| Field Summary | |
|---|---|
private byte[] |
branch_id
|
private int |
format_id
|
private byte[] |
global_id
|
| Fields inherited from interface javax.transaction.xa.Xid |
|---|
MAXBQUALSIZE, MAXGTRIDSIZE |
| Constructor Summary | |
|---|---|
DRDAXid(int formatid,
byte[] globalid,
byte[] branchid)
|
|
| Method Summary | |
|---|---|
private static java.lang.String |
convertToHexString(byte[] buf)
convert byte array to a Hex string |
byte[] |
getBranchQualifier()
Obtain the transaction branch qualifier part of the Xid in a byte array. |
int |
getFormatId()
Obtain the format id part of the Xid. |
byte[] |
getGlobalTransactionId()
Obtain the global transaction identifier part of XID as an array of bytes. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private final int format_id
private final byte[] global_id
private final byte[] branch_id
| Constructor Detail |
|---|
DRDAXid(int formatid,
byte[] globalid,
byte[] branchid)
| 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()
toString in class java.lang.Objectprivate static java.lang.String convertToHexString(byte[] buf)
buf - buffer to convert
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||