| 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() |
Uid |
JournalRecord.getGtrid()
Returns the global transaction id, identifying the transaction this record belongs to.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Uid,JournalRecord> |
NullJournal.collectDanglingRecords() |
Map<Uid,JournalRecord> |
Journal.collectDanglingRecords()
Collect all dangling records of the journal, ie: COMMITTING records with no corresponding COMMITTED record.
|
Map<Uid,JournalRecord> |
DiskJournal.collectDanglingRecords()
Collect all dangling records of the active log file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NullJournal.log(int status,
Uid gtrid,
Set<String> uniqueNames) |
void |
Journal.log(int status,
Uid gtrid,
Set<String> uniqueNames)
Log a new transaction status to journal.
|
void |
DiskJournal.log(int status,
Uid gtrid,
Set<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,
Set<String> uniqueNames,
int endRecord)
Use this constructor when restoring a log from the disk.
|
TransactionLogRecord(int status,
Uid gtrid,
Set<String> uniqueNames)
Create a new transaction log ready to be stored.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<Uid,XAResourceHolderState> |
AbstractXAResourceHolder.getXAResourceHolderStatesForGtrid(Uid gtrid) |
| Modifier and Type | Method and Description |
|---|---|
void |
XAResourceHolder.acceptVisitorForXAResourceHolderStates(Uid gtrid,
XAResourceHolderStateVisitor visitor)
This method implements a standard Visitor Pattern.
|
void |
AbstractXAResourceHolder.acceptVisitorForXAResourceHolderStates(Uid gtrid,
XAResourceHolderStateVisitor visitor) |
int |
XAResourceHolder.getXAResourceHolderStateCountForGtrid(Uid gtrid)
Get a count of
XAResourceHolderStates for the specified GTRID. |
int |
AbstractXAResourceHolder.getXAResourceHolderStateCountForGtrid(Uid gtrid) |
protected Map<Uid,XAResourceHolderState> |
AbstractXAResourceHolder.getXAResourceHolderStatesForGtrid(Uid gtrid) |
boolean |
XAResourceHolder.isExistXAResourceHolderStatesForGtrid(Uid gtrid)
Checks whether there are
XAResourceHolderStates for the specified GTRID. |
boolean |
AbstractXAResourceHolder.isExistXAResourceHolderStatesForGtrid(Uid 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-2016 Bitronix Software. All Rights Reserved.