Class XidImpl
- java.lang.Object
-
- org.apache.activemq.artemis.core.transaction.impl.XidImpl
-
- All Implemented Interfaces:
Serializable,Xid
public class XidImpl extends Object implements Xid, Serializable
Xid implementation- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface javax.transaction.xa.Xid
MAXBQUALSIZE, MAXGTRIDSIZE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)byte[]getBranchQualifier()intgetFormatId()byte[]getGlobalTransactionId()inthashCode()static StringtoBase64String(Xid xid)StringtoString()
-
-
-
Constructor Detail
-
XidImpl
public XidImpl(byte[] branchQualifier, int formatId, byte[] globalTransactionId)Standard constructor- Parameters:
branchQualifier-formatId-globalTransactionId-
-
XidImpl
public XidImpl(Xid other)
Copy constructor- Parameters:
other-
-
-
Method Detail
-
getBranchQualifier
public byte[] getBranchQualifier()
- Specified by:
getBranchQualifierin interfaceXid
-
getFormatId
public int getFormatId()
- Specified by:
getFormatIdin interfaceXid
-
getGlobalTransactionId
public byte[] getGlobalTransactionId()
- Specified by:
getGlobalTransactionIdin interfaceXid
-
-