Package | Description |
---|---|
javax.transaction | |
org.hibernate.cache.infinispan.impl | |
org.hibernate.service.jta.platform.internal | |
org.hibernate.service.jta.platform.spi | |
org.hibernate.transaction |
This package abstracts the underlying transaction mechanism
(JTA or JDBC) and provides strategies for obtaining application
server TransactionManagers.
|
org.infinispan.batch |
Support for batching calls using the
Cache.startBatch() and Cache.endBatch(boolean)
API. |
org.infinispan.context |
Contexts contain information of a specific invocation on the cache, such as its origins, scope
(transactional or non-transactional), as well as invocation-specific flags.
|
org.infinispan.context.impl |
This package contains different context implementations, selected dynamically based on the type of invocation.
|
org.infinispan.transaction |
JTA transaction support.
|
org.infinispan.transaction.synchronization | |
org.infinispan.transaction.tm |
Infinispan's bare-bones internal transaction manager, used for batching calls as well as as a dummy, unit-test-only
transaction manager.
|
org.infinispan.transaction.xa |
XA transaction support.
|
org.infinispan.transaction.xa.recovery |
Modifier and Type | Method and Description |
---|---|
Transaction |
TransactionManager.getTransaction()
Get the transaction associated with the calling thread.
|
Transaction |
TransactionManager.suspend()
Suspend the association the calling thread has to a transaction,
and return the suspended transaction.
|
Modifier and Type | Method and Description |
---|---|
void |
TransactionManager.resume(Transaction tobj)
Resume the association of the calling thread with the given
transaction.
|
Modifier and Type | Method and Description |
---|---|
Transaction |
BaseRegion.suspend()
Tell the TransactionManager to suspend any ongoing transaction.
|
Modifier and Type | Method and Description |
---|---|
void |
BaseRegion.resume(Transaction tx)
Tell the TransactionManager to resume the given transaction
|
Modifier and Type | Class and Description |
---|---|
class |
WebSphereExtendedJtaPlatform.TransactionManagerAdapter.TransactionAdapter |
Modifier and Type | Method and Description |
---|---|
Transaction |
WebSphereExtendedJtaPlatform.TransactionManagerAdapter.getTransaction() |
Transaction |
WebSphereExtendedJtaPlatform.TransactionManagerAdapter.suspend() |
Modifier and Type | Method and Description |
---|---|
Object |
WebSphereExtendedJtaPlatform.getTransactionIdentifier(Transaction transaction) |
Object |
TransactionManagerLookupBridge.getTransactionIdentifier(Transaction transaction) |
Object |
NoJtaPlatform.getTransactionIdentifier(Transaction transaction) |
Object |
AbstractJtaPlatform.getTransactionIdentifier(Transaction transaction) |
void |
WebSphereExtendedJtaPlatform.TransactionManagerAdapter.resume(Transaction txn) |
Modifier and Type | Method and Description |
---|---|
Object |
JtaPlatform.getTransactionIdentifier(Transaction transaction)
Determine an identifier for the given transaction appropriate for use in caching/lookup usages.
|
Modifier and Type | Method and Description |
---|---|
Object |
TransactionManagerLookup.getTransactionIdentifier(Transaction transaction)
Determine an identifier for the given transaction appropriate for use in caching/lookup usages.
|
Modifier and Type | Method and Description |
---|---|
Transaction |
BatchContainer.getBatchTransaction() |
Modifier and Type | Method and Description |
---|---|
Transaction |
TransactionalInvocationContextFlagsOverride.getTransaction() |
Modifier and Type | Method and Description |
---|---|
InvocationContext |
TransactionalInvocationContextContainer.createInvocationContext(Transaction tx) |
InvocationContext |
NonTransactionalInvocationContextContainer.createInvocationContext(Transaction tx) |
InvocationContext |
InvocationContextContainer.createInvocationContext(Transaction tx)
Creates an invocation context
|
Modifier and Type | Method and Description |
---|---|
Transaction |
TxInvocationContext.getTransaction()
Returns the tx associated with the current thread.
|
Transaction |
RemoteTxInvocationContext.getTransaction() |
Transaction |
LocalTxInvocationContext.getTransaction() |
Transaction |
AbstractTxInvocationContext.getTransaction() |
Modifier and Type | Method and Description |
---|---|
TxInvocationContext |
AbstractTxInvocationContext.setTransaction(Transaction transaction) |
Modifier and Type | Method and Description |
---|---|
Transaction |
LocalTransaction.getTransaction() |
Modifier and Type | Method and Description |
---|---|
boolean |
TransactionTable.containsLocalTx(Transaction tx)
Returns true if the given transaction is already registered with the transaction table.
|
void |
TransactionTable.enlist(Transaction transaction,
LocalTransaction localTransaction) |
void |
TransactionTable.failureCompletingTransaction(Transaction tx) |
LocalTransaction |
TransactionTable.getLocalTransaction(Transaction tx) |
protected LocalTransaction |
TransactionTable.getLocalTx(Transaction tx) |
LocalTransaction |
TransactionTable.getOrCreateLocalTransaction(Transaction transaction,
TxInvocationContext ctx)
Returns the
TransactionXaAdapter corresponding to the supplied transaction. |
LocalTransaction |
TransactionTable.removeLocalTransaction(Transaction tx) |
protected LocalTransaction |
TransactionTable.removeLocalTransactionInternal(Transaction tx) |
Constructor and Description |
---|
LocalTransaction(Transaction transaction,
GlobalTransaction tx,
boolean implicitTransaction,
int viewId) |
Constructor and Description |
---|
SyncLocalTransaction(Transaction transaction,
GlobalTransaction tx,
boolean implicitTransaction,
int viewId) |
Modifier and Type | Class and Description |
---|---|
class |
DummyTransaction |
Modifier and Type | Method and Description |
---|---|
Transaction |
DummyBaseTransactionManager.suspend()
Suspend the association the calling thread has to a transaction, and return the suspended transaction.
|
Modifier and Type | Method and Description |
---|---|
void |
DummyBaseTransactionManager.resume(Transaction tx)
Resume the association of the calling thread with the given transaction.
|
static void |
DummyBaseTransactionManager.setTransaction(Transaction tx)
Just used for unit tests
|
Modifier and Type | Method and Description |
---|---|
void |
XaTransactionTable.enlist(Transaction transaction,
LocalTransaction ltx) |
LocalTransaction |
TransactionFactory.newLocalTransaction(Transaction tx,
GlobalTransaction gtx,
boolean implicitTransaction,
int viewId) |
abstract LocalTransaction |
TransactionFactory.TxFactoryEnum.newLocalTransaction(Transaction tx,
GlobalTransaction gtx,
boolean implicitTransaction,
int viewId) |
LocalTransaction |
XaTransactionTable.removeLocalTransaction(Transaction tx) |
Constructor and Description |
---|
LocalXaTransaction(Transaction transaction,
GlobalTransaction tx,
boolean implicitTransaction,
int viewId) |
Modifier and Type | Method and Description |
---|---|
void |
RecoveryAwareTransactionTable.failureCompletingTransaction(Transaction tx) |
Constructor and Description |
---|
RecoveryAwareLocalTransaction(Transaction transaction,
GlobalTransaction tx,
boolean implicitTransaction,
int viewId) |
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.