Package | Description |
---|---|
org.jboss.cache | |
org.jboss.cache.factories.context | |
org.jboss.cache.interceptors | |
org.jboss.cache.invocation | |
org.jboss.cache.transaction |
Modifier and Type | Field and Description |
---|---|
protected TransactionContext |
InvocationContext.transactionContext |
Modifier and Type | Method and Description |
---|---|
TransactionContext |
InvocationContext.getTransactionContext() |
Modifier and Type | Method and Description |
---|---|
void |
InvocationContext.setTransactionContext(TransactionContext transactionContext)
Sets the transaction context to be associated with the current thread.
|
Modifier and Type | Method and Description |
---|---|
TransactionContext |
PessimisticContextFactory.createTransactionContext(Transaction tx)
Deprecated.
|
TransactionContext |
ContextFactory.createTransactionContext(Transaction tx) |
TransactionContext |
OptimisticContextFactory.createTransactionContext(Transaction tx)
Deprecated.
|
TransactionContext |
MVCCContextFactory.createTransactionContext(Transaction tx) |
Modifier and Type | Method and Description |
---|---|
void |
PessimisticLockInterceptor.lockAllForRemoval(NodeSPI node,
InvocationContext ctx,
TransactionContext transactionContext)
Deprecated.
Acquires write locks on the node and all child nodes, adding children to the list of removed nodes in the context.
|
protected CacheStoreInterceptor.StoreModificationsBuilder |
CacheStoreInterceptor.prepareCacheLoader(GlobalTransaction gtx,
TransactionContext transactionContext,
boolean onePhase) |
protected void |
BaseTransactionalContextInterceptor.setTransactionalContext(Transaction tx,
GlobalTransaction gtx,
TransactionContext tCtx,
InvocationContext ctx) |
Modifier and Type | Method and Description |
---|---|
void |
MVCCInvocationContext.setTransactionContext(TransactionContext transactionContext) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTransactionContext
An abstract transaction context
|
class |
MVCCTransactionContext
A transaction context specially geared to dealing with MVCC.
|
class |
OptimisticTransactionContext
Deprecated.
will be removed along with optimistic and pessimistic locking.
|
class |
PessimisticTransactionContext
Deprecated.
will be removed along with optimistic and pessimistic locking.
|
Modifier and Type | Field and Description |
---|---|
protected Map<GlobalTransaction,TransactionContext> |
TransactionTable.gtx2ContextMap
Mappings between GlobalTransactions and modifications.
|
Modifier and Type | Method and Description |
---|---|
TransactionContext |
TransactionTable.get(GlobalTransaction gtx)
Returns the local transaction entry for the global transaction.
|
TransactionContext |
TransactionTable.remove(GlobalTransaction tx)
Removes a global transation, returns the old transaction entry.
|
Modifier and Type | Method and Description |
---|---|
void |
TransactionTable.put(GlobalTransaction tx,
TransactionContext transactionContext)
Associates the global transaction with a transaction context.
|
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.