MySQL Connector/J size='-1'>5.0.8

com.mysql.jdbc.jdbc2.optional
Class MysqlXid

java.lang.Object
  extended by com.mysql.jdbc.jdbc2.optional.MysqlXid
All Implemented Interfaces:
javax.transaction.xa.Xid

public class MysqlXid
extends java.lang.Object
implements javax.transaction.xa.Xid

Implementation of the XID interface for MySQL XA

Version:
$Id: $

Field Summary
 
Fields inherited from interface javax.transaction.xa.Xid
MAXBQUALSIZE, MAXGTRIDSIZE
 
Constructor Summary
MysqlXid(byte[] gtrid, byte[] bqual, int formatId)
           
 
Method Summary
 boolean equals(java.lang.Object another)
           
 byte[] getBranchQualifier()
           
 int getFormatId()
           
 byte[] getGlobalTransactionId()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MysqlXid

public MysqlXid(byte[] gtrid,
                byte[] bqual,
                int formatId)
Method Detail

equals

public boolean equals(java.lang.Object another)
Overrides:
equals in class java.lang.Object

getBranchQualifier

public byte[] getBranchQualifier()
Specified by:
getBranchQualifier in interface javax.transaction.xa.Xid

getFormatId

public int getFormatId()
Specified by:
getFormatId in interface javax.transaction.xa.Xid

getGlobalTransactionId

public byte[] getGlobalTransactionId()
Specified by:
getGlobalTransactionId in interface javax.transaction.xa.Xid

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

MySQL Connector/J size='-1'>5.0.8