javax.transaction.xa.Xid
class DRDAXid
extends java.lang.Object
implements javax.transaction.xa.Xid
Modifier and Type | Field | Description |
---|---|---|
private byte[] |
branch_id |
|
private int |
format_id |
|
private byte[] |
global_id |
Constructor | Description |
---|---|
DRDAXid(int formatid,
byte[] globalid,
byte[] branchid) |
Modifier and Type | Method | Description |
---|---|---|
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() |
private final int format_id
private final byte[] global_id
private final byte[] branch_id
public int getFormatId()
getFormatId
in interface javax.transaction.xa.Xid
public byte[] getGlobalTransactionId()
getGlobalTransactionId
in interface javax.transaction.xa.Xid
public byte[] getBranchQualifier()
getBranchQualifier
in interface javax.transaction.xa.Xid
public java.lang.String toString()
toString
in class java.lang.Object
private static java.lang.String convertToHexString(byte[] buf)
buf
- buffer to convertApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.