MAXBQUALSIZE, MAXGTRIDSIZE| Constructor and Description |
|---|
OceanBaseXid(byte[] globalTransactionId,
byte[] branchQualifier,
int formatId)
Global transaction identifier.
|
OceanBaseXid(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 OceanBaseXid(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 OceanBaseXid(byte[] globalTransactionId,
byte[] branchQualifier,
int formatId)
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.formatId - the format identifier part of the XID.public boolean equals(Object obj)
public int getFormatId()
getFormatId in interface Xidpublic byte[] getGlobalTransactionId()
getGlobalTransactionId in interface Xidpublic byte[] getBranchQualifier()
getBranchQualifier in interface XidCopyright © 2022 oceanbase.com. All rights reserved.