|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.slim3.transaction.jta.XidImpl
public class XidImpl
An implementation class for Xid.
| Field Summary | |
|---|---|
protected int |
bid
The internal branch identifier. |
protected byte[] |
branchId
The branch identifier. |
static int |
FORMAT_ID
The format identifier. |
protected int |
gid
The internal global identifier. |
protected byte[] |
globalId
The global identifier. |
protected static byte[] |
INITIAL_BRANCH_ID
The initial branch identifier. |
| Fields inherited from interface javax.transaction.xa.Xid |
|---|
MAXBQUALSIZE, MAXGTRIDSIZE |
| Constructor Summary | |
|---|---|
XidImpl(int gid)
Constructor. |
|
XidImpl(int gid,
int bid)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
protected static byte[] |
fillBytes(byte[] bytes)
Fills the array of bytes for 64 bytes. |
byte[] |
getBranchQualifier()
|
int |
getFormatId()
|
byte[] |
getGlobalTransactionId()
|
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int FORMAT_ID
protected static final byte[] INITIAL_BRANCH_ID
protected int gid
protected int bid
protected byte[] globalId
protected byte[] branchId
| Constructor Detail |
|---|
public XidImpl(int gid)
gid - the internal global identifier
public XidImpl(int gid,
int bid)
gid - the internal global identifierbid - the internal branch identifier| Method Detail |
|---|
protected static byte[] fillBytes(byte[] bytes)
bytes - the array of bytes
public byte[] getGlobalTransactionId()
getGlobalTransactionId in interface Xidpublic byte[] getBranchQualifier()
getBranchQualifier in interface Xidpublic int getFormatId()
getFormatId in interface Xidpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||