| Package | Description |
|---|---|
| bitronix.tm |
JTA interfaces implementations and global services.
|
| bitronix.tm.internal |
Internal implementation details.
|
| bitronix.tm.journal |
Transactions disk journal.
|
| bitronix.tm.resource.common |
Resource management code common across all resource types.
|
| bitronix.tm.utils |
Misc utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
Uid |
BitronixXid.getBranchQualifierUid() |
Uid |
BitronixXid.getGlobalTransactionIdUid() |
| Constructor and Description |
|---|
BitronixXid(Uid globalTransactionId,
Uid branchQualifier)
Create a new XID using the specified GTRID and BQUAL.
|
| Modifier and Type | Method and Description |
|---|---|
Uid |
XAResourceManager.getGtrid()
Get the GTRID of the transaction the
XAResourceManager instance is attached to. |
| Constructor and Description |
|---|
XAResourceManager(Uid gtrid)
Create a resource manager for the specified GTRID.
|
| Modifier and Type | Method and Description |
|---|---|
Uid |
TransactionLogRecord.getGtrid() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<Uid,TransactionLogRecord> |
DiskJournal.collectDanglingRecords()
Collect all dangling records of the active log file.
|
java.util.Map<Uid,TransactionLogRecord> |
NullJournal.collectDanglingRecords() |
java.util.Map<Uid,TransactionLogRecord> |
Journal.collectDanglingRecords()
Collect all dangling records of the journal, ie: COMMITTING records with no corresponding COMMITTED record.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DiskJournal.log(int status,
Uid gtrid,
java.util.Set<java.lang.String> uniqueNames)
Log a new transaction status to journal.
|
void |
NullJournal.log(int status,
Uid gtrid,
java.util.Set<java.lang.String> uniqueNames) |
void |
Journal.log(int status,
Uid gtrid,
java.util.Set<java.lang.String> uniqueNames)
Log a new transaction status to journal.
|
| Constructor and Description |
|---|
TransactionLogRecord(int status,
int recordLength,
int headerLength,
long time,
int sequenceNumber,
int crc32,
Uid gtrid,
java.util.Set<java.lang.String> uniqueNames,
int endRecord)
Use this constructor when restoring a log from the disk.
|
TransactionLogRecord(int status,
Uid gtrid,
java.util.Set<java.lang.String> uniqueNames)
Create a new transaction log ready to be stored.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<Uid,XAResourceHolderState> |
AbstractXAResourceHolder.getXAResourceHolderStatesForGtrid(Uid gtrid) |
java.util.Map<Uid,XAResourceHolderState> |
XAResourceHolder.getXAResourceHolderStatesForGtrid(Uid gtrid)
Get all the
XAResourceHolderStates of this wrapped resource for a specific GTRID. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<Uid,XAResourceHolderState> |
AbstractXAResourceHolder.getXAResourceHolderStatesForGtrid(Uid gtrid) |
java.util.Map<Uid,XAResourceHolderState> |
XAResourceHolder.getXAResourceHolderStatesForGtrid(Uid gtrid)
Get all the
XAResourceHolderStates of this wrapped resource for a specific GTRID. |
| Modifier and Type | Method and Description |
|---|---|
static Uid |
UidGenerator.generateUid()
Generate a UID, globally unique.
|
| Modifier and Type | Method and Description |
|---|---|
static BitronixXid |
UidGenerator.generateXid(Uid gtrid)
Generate a XID with the specified globalTransactionId.
|
Copyright © 2006-2022 Bitronix Software. All Rights Reserved.