|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The format of XID must follow these rules :
Field Summary | |
static int |
BQUAL_LENGTH_MAX
Branch Qualifier Maximal Length |
static int |
BQUAL_LENGTH_MIN
Branch Qualifier Minimal Length |
static int |
TID_LENGTH_MAX
Transaction Identifier Maximal Length |
static int |
TID_LENGTH_MIN
Transaction Identifier Minimal Length |
static java.lang.String |
XID_STATE
ADL Identifier |
Fields inherited from interface org.objectweb.transaction.api.State |
STATE |
Method Summary | |
byte[] |
getBranchQualifier()
Provides the value of the Branch Qualifier of the XID |
int |
getFormatId()
Provides the value of the Format Identifier used by the implementation |
byte[] |
getGlobalTransactionId()
Provides the value of the Global Transaction Identifier |
void |
setBranchQualifier(byte[] bqual)
Defines the value of the Branch Qualifier of the XID |
void |
setFormatId(int fid)
Defines the value of the Format Identifier of the XID |
void |
setGlobalTransactionId(byte[] gtid)
Defines the value of the Global Transaction Identifier |
Field Detail |
public static final java.lang.String XID_STATE
public static final int BQUAL_LENGTH_MIN
public static final int BQUAL_LENGTH_MAX
public static final int TID_LENGTH_MIN
public static final int TID_LENGTH_MAX
Method Detail |
public void setBranchQualifier(byte[] bqual)
bqual
- - a byte array representing the Branch Qualifierpublic void setFormatId(int fid)
fid
- - the value of the Format Identifierpublic void setGlobalTransactionId(byte[] gtid)
gtid
- - the global transaction identifierpublic byte[] getBranchQualifier()
public int getFormatId()
public byte[] getGlobalTransactionId()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |