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()
XidgetBranchQualifier in interface Xidpublic int getFormatId()
XidgetFormatId in interface Xidpublic byte[] getGlobalTransactionId()
XidgetGlobalTransactionId in interface XidCopyright © 2012 JBoss by Red Hat. All Rights Reserved.