| Package | Description |
|---|---|
| bitronix.tm.internal |
Internal implementation details.
|
| bitronix.tm.recovery |
Recovery logic.
|
| bitronix.tm.resource.common |
Resource management code common across all resource types.
|
| bitronix.tm.resource.ehcache |
Ehcache specific resource management code.
|
| bitronix.tm.resource.jdbc |
JDBC specific resource management code.
|
| bitronix.tm.resource.jms |
Synchronous JMS specific resource management code.
|
| bitronix.tm.twopc |
Two-phase commit logic.
|
| bitronix.tm.twopc.executor |
Two-phase commit commands executors.
|
| bitronix.tm.utils |
Misc utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
XAResourceHolderState |
XAResourceManager.findXAResourceHolderState(XAResource xaResource)
Look if an
XAResource has already been enlisted. |
| Modifier and Type | Method and Description |
|---|---|
List<XAResourceHolderState> |
XAResourceManager.getAllResources() |
List<XAResourceHolderState> |
XAResourceManager.getNaturalOrderResourcesForPosition(Integer position) |
List<XAResourceHolderState> |
BitronixMultiSystemException.getResourceStates()
Get the list of XAResourceHolderStates which threw an exception during execution.
|
List<XAResourceHolderState> |
XAResourceManager.getReverseOrderResourcesForPosition(Integer position) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
XAResourceManager.delist(XAResourceHolderState xaResourceHolderState,
int flag)
Delist the specified
XAResourceHolderState. |
void |
XAResourceManager.enlist(XAResourceHolderState xaResourceHolderState)
Enlist the specified
XAResourceHolderState. |
| Constructor and Description |
|---|
XAResourceHolderState(XAResourceHolderState resourceHolderState) |
| Constructor and Description |
|---|
BitronixMultiSystemException(String string,
List<? extends Exception> exceptions,
List<XAResourceHolderState> resourceStates) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
RecoveryHelper.commit(XAResourceHolderState xaResourceHolderState,
Xid xid)
Commit the specified branch of a dangling transaction.
|
static Set<BitronixXid> |
RecoveryHelper.recover(XAResourceHolderState xaResourceHolderState)
Run the recovery process on the target resource.
|
static boolean |
RecoveryHelper.rollback(XAResourceHolderState xaResourceHolderState,
Xid xid)
Rollback the specified branch of a dangling transaction.
|
| Modifier and Type | Method and Description |
|---|---|
XAResourceHolderState |
XAResourceProducer.startRecovery()
Prepare the recoverable
XAResource producer for recovery. |
| Modifier and Type | Method and Description |
|---|---|
protected Map<Uid,XAResourceHolderState> |
AbstractXAResourceHolder.getXAResourceHolderStatesForGtrid(Uid gtrid) |
| Modifier and Type | Method and Description |
|---|---|
void |
XAResourceHolder.putXAResourceHolderState(BitronixXid xid,
XAResourceHolderState xaResourceHolderState)
Add a
XAResourceHolderState of this wrapped resource. |
void |
AbstractXAResourceHolder.putXAResourceHolderState(BitronixXid xid,
XAResourceHolderState xaResourceHolderState) |
boolean |
XAResourceHolderStateVisitor.visit(XAResourceHolderState xaResourceHolderState)
Called when visiting all
XAResourceHolderStates. |
| Modifier and Type | Method and Description |
|---|---|
XAResourceHolderState |
EhCacheXAResourceProducer.startRecovery()
Prepare the recoverable
XAResource producer for recovery. |
| Modifier and Type | Method and Description |
|---|---|
XAResourceHolderState |
PoolingDataSource.startRecovery() |
| Modifier and Type | Method and Description |
|---|---|
XAResourceHolderState |
PoolingConnectionFactory.startRecovery() |
| Modifier and Type | Method and Description |
|---|---|
protected static List<XAResourceHolderState> |
AbstractPhaseEngine.collectNotInterestedResources(List<XAResourceHolderState> allResources,
List<XAResourceHolderState> interestedResources) |
List<XAResourceHolderState> |
PhaseException.getResourceStates()
Get the list of resource which threw an exception during a phase execution.
|
List<XAResourceHolderState> |
Preparer.prepare(BitronixTransaction transaction)
Execute phase 1 prepare.
|
| Modifier and Type | Method and Description |
|---|---|
protected Job |
Rollbacker.createJob(XAResourceHolderState resourceHolder) |
protected Job |
Preparer.createJob(XAResourceHolderState xaResourceHolderState) |
protected Job |
Committer.createJob(XAResourceHolderState resourceHolder) |
protected abstract Job |
AbstractPhaseEngine.createJob(XAResourceHolderState xaResourceHolderState)
Create a
Job that is going to execute the phase command on the given resource. |
protected boolean |
Rollbacker.isParticipating(XAResourceHolderState xaResourceHolderState) |
protected boolean |
Preparer.isParticipating(XAResourceHolderState xaResourceHolderState) |
protected boolean |
Committer.isParticipating(XAResourceHolderState xaResourceHolderState) |
protected abstract boolean |
AbstractPhaseEngine.isParticipating(XAResourceHolderState xaResourceHolderState)
Determine if a resource is participating in the phase or not.
|
| Modifier and Type | Method and Description |
|---|---|
protected static List<XAResourceHolderState> |
AbstractPhaseEngine.collectNotInterestedResources(List<XAResourceHolderState> allResources,
List<XAResourceHolderState> interestedResources) |
protected static List<XAResourceHolderState> |
AbstractPhaseEngine.collectNotInterestedResources(List<XAResourceHolderState> allResources,
List<XAResourceHolderState> interestedResources) |
protected static Set<String> |
AbstractPhaseEngine.collectResourcesUniqueNames(List<XAResourceHolderState> resources) |
void |
Committer.commit(BitronixTransaction transaction,
List<XAResourceHolderState> interestedResources)
Execute phase 2 commit.
|
void |
Rollbacker.rollback(BitronixTransaction transaction,
List<XAResourceHolderState> interestedResources)
Rollback the current XA transaction.
|
| Constructor and Description |
|---|
PhaseException(List<Exception> exceptions,
List<XAResourceHolderState> resourceStates) |
| Modifier and Type | Method and Description |
|---|---|
XAResourceHolderState |
Job.getResource() |
| Constructor and Description |
|---|
Job(XAResourceHolderState resourceHolder) |
| Modifier and Type | Method and Description |
|---|---|
static String |
Decoder.collectResourcesNames(Collection<XAResourceHolderState> resources)
Create a String representation of a list of
XAResourceHolders. |
Copyright © 2006-2016 Bitronix Software. All Rights Reserved.