| Package | Description |
|---|---|
| bitronix.tm |
JTA interfaces implementations and global services.
|
| bitronix.tm.internal |
Internal implementation details.
|
| bitronix.tm.resource.common |
Resource management code common across all resource types.
|
| bitronix.tm.timer |
Timed tasks scheduler.
|
| bitronix.tm.twopc |
Two-phase commit logic.
|
| Modifier and Type | Method and Description |
|---|---|
BitronixTransaction |
BitronixTransactionManager.getCurrentTransaction()
Get the transaction currently registered on the current thread context.
|
| Modifier and Type | Method and Description |
|---|---|
BitronixTransaction |
ThreadContext.getTransaction()
Return the transaction linked with this thread context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ThreadContext.setTransaction(BitronixTransaction transaction)
Link a transaction with this thead context.
|
| Modifier and Type | Method and Description |
|---|---|
static BitronixTransaction |
TransactionContextHelper.currentTransaction()
Get the transaction running on the current thead context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TaskScheduler.cancelTransactionTimeout(BitronixTransaction transaction)
Cancel the task that will mark the transaction as timed out at the specified date.
|
void |
TaskScheduler.scheduleTransactionTimeout(BitronixTransaction transaction,
java.util.Date executionTime)
Schedule a task that will mark the transaction as timed out at the specified date.
|
| Constructor and Description |
|---|
TransactionTimeoutTask(BitronixTransaction transaction,
java.util.Date executionTime,
TaskScheduler scheduler) |
| Modifier and Type | Method and Description |
|---|---|
void |
Committer.commit(BitronixTransaction transaction,
java.util.List<XAResourceHolderState> interestedResources)
Execute phase 2 commit.
|
java.util.List<XAResourceHolderState> |
Preparer.prepare(BitronixTransaction transaction)
Execute phase 1 prepare.
|
void |
Rollbacker.rollback(BitronixTransaction transaction,
java.util.List<XAResourceHolderState> interestedResources)
Rollback the current XA transaction.
|
Copyright © 2006-2019 Bitronix Software. All Rights Reserved.