public class XidImpl extends Object implements Xid, Serializable
MAXBQUALSIZE, MAXGTRIDSIZE
Constructor and Description |
---|
XidImpl(byte[] branchQualifier,
int formatId,
byte[] globalTransactionId)
Standard constructor
|
XidImpl(Xid other)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
byte[] |
getBranchQualifier()
Get the transaction branch qualifier of this transaction.
|
int |
getFormatId()
Get the format identifier.
|
byte[] |
getGlobalTransactionId()
Get the global transaction id of this transaction.
|
int |
hashCode() |
static String |
toBase64String(Xid xid) |
String |
toString() |
public XidImpl(byte[] branchQualifier, int formatId, byte[] globalTransactionId)
branchQualifier
- formatId
- globalTransactionId
- public XidImpl(Xid other)
other
- public byte[] getBranchQualifier()
Xid
getBranchQualifier
in interface Xid
public int getFormatId()
Xid
getFormatId
in interface Xid
public byte[] getGlobalTransactionId()
Xid
getGlobalTransactionId
in interface Xid
Copyright © 2016 JBoss by Red Hat. All rights reserved.