|
||||||||||
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 identifierpublic XidImpl(int gid, int bid)
gid
- the internal global identifierbid
- the internal branch identifierMethod Detail |
---|
protected static byte[] fillBytes(byte[] bytes)
bytes
- the array of bytes
public byte[] getGlobalTransactionId()
getGlobalTransactionId
in interface Xid
public byte[] getBranchQualifier()
getBranchQualifier
in interface Xid
public int getFormatId()
getFormatId
in interface Xid
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |