| Modifier and Type | Field and Description |
|---|---|
byte[] |
branchQualifier |
int |
formatId |
byte[] |
globalTransactionId |
MAXBQUALSIZE, MAXGTRIDSIZE| Constructor and Description |
|---|
MariaDbXid(int formatId,
byte[] globalTransactionId,
byte[] branchQualifier)
Global transaction identifier.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Equal implementation.
|
byte[] |
getBranchQualifier() |
int |
getFormatId() |
byte[] |
getGlobalTransactionId() |
public int formatId
public byte[] globalTransactionId
public byte[] branchQualifier
public MariaDbXid(int formatId,
byte[] globalTransactionId,
byte[] branchQualifier)
formatId - the format identifier part of the XID.globalTransactionId - the global transaction identifier part of XID as an array of bytes.branchQualifier - the transaction branch identifier part of XID as an array of bytes.public boolean equals(Object obj)
public int getFormatId()
getFormatId in interface Xidpublic byte[] getGlobalTransactionId()
getGlobalTransactionId in interface Xidpublic byte[] getBranchQualifier()
getBranchQualifier in interface XidCopyright © 2016. All rights reserved.