Class XidImpl
java.lang.Object
org.apache.activemq.artemis.core.transaction.impl.XidImpl
- All Implemented Interfaces:
Serializable,Xid
Xid implementation
- See Also:
-
Field Summary
Fields inherited from interface javax.transaction.xa.Xid
MAXBQUALSIZE, MAXGTRIDSIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]intbyte[]inthashCode()static StringtoBase64String(Xid xid) toString()
-
Constructor Details
-
XidImpl
public XidImpl(byte[] branchQualifier, int formatId, byte[] globalTransactionId) Standard constructor -
XidImpl
Copy constructor
-
-
Method Details
-
toBase64String
-
getBranchQualifier
public byte[] getBranchQualifier()- Specified by:
getBranchQualifierin interfaceXid
-
getFormatId
public int getFormatId()- Specified by:
getFormatIdin interfaceXid
-
getGlobalTransactionId
public byte[] getGlobalTransactionId()- Specified by:
getGlobalTransactionIdin interfaceXid
-
hashCode
public int hashCode() -
equals
-
toString
-