public class XidImpl extends Object implements Xid, Serializable
Xid
independent of the transaction manager
implementation.Modifier and Type | Field and Description |
---|---|
byte[] |
bqual |
int |
fid |
byte[] |
gtrid |
MAXBQUALSIZE, MAXGTRIDSIZE
Constructor and Description |
---|
XidImpl(String id)
Constructor mostly used in unit tests.
|
XidImpl(Xid xid)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
byte[] |
getBranchQualifier() |
int |
getFormatId() |
byte[] |
getGlobalTransactionId() |
int |
hashCode() |
public final int fid
public final byte[] gtrid
public final byte[] bqual
public XidImpl(Xid xid)
xid
- the xid to copypublic XidImpl(String id)
id
- the global transaction idpublic int getFormatId()
getFormatId
in interface Xid
public byte[] getGlobalTransactionId()
getGlobalTransactionId
in interface Xid
public byte[] getBranchQualifier()
getBranchQualifier
in interface Xid
Copyright © 2011 Nuxeo SA. All Rights Reserved.