|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of GlobalTransaction in org.jboss.cache |
---|
Methods in org.jboss.cache that return GlobalTransaction | |
---|---|
GlobalTransaction |
CacheSPI.getCurrentTransaction()
Returns the transaction associated with the current thread. |
GlobalTransaction |
CacheSPI.getCurrentTransaction(javax.transaction.Transaction tx,
boolean createIfNotExists)
Returns the global transaction for this local transaction. |
GlobalTransaction |
InvocationContext.getGlobalTransaction()
Retrieves the global transaction associated with this invocation |
Methods in org.jboss.cache with parameters of type GlobalTransaction | |
---|---|
NodeSPI<K,V> |
NodeSPI.getOrCreateChild(java.lang.Object name,
GlobalTransaction tx)
Deprecated. should use the NodeFactory instead. |
NodeSPI<K,V> |
AbstractNode.getOrCreateChild(java.lang.Object childName,
GlobalTransaction gtx)
|
NodeSPI<K,V> |
PessimisticUnversionedNode.getOrCreateChild(java.lang.Object childName,
GlobalTransaction gtx)
Deprecated. |
NodeSPI<K,V> |
InternalNode.getOrCreateChild(java.lang.Object childName,
GlobalTransaction gtx)
Deprecated. should use the NodeFactory instead. |
void |
InvocationContext.setGlobalTransaction(GlobalTransaction globalTransaction)
Sets the global transaction associated with this invocation |
Uses of GlobalTransaction in org.jboss.cache.commands |
---|
Methods in org.jboss.cache.commands that return GlobalTransaction | |
---|---|
GlobalTransaction |
WriteCommand.getGlobalTransaction()
|
Methods in org.jboss.cache.commands with parameters of type GlobalTransaction | |
---|---|
ClearDataCommand |
CommandsFactory.buildClearDataCommand(GlobalTransaction gtx,
Fqn fqn)
|
ClearDataCommand |
PessimisticCommandsFactoryImpl.buildClearDataCommand(GlobalTransaction gtx,
Fqn fqn)
Deprecated. |
ClearDataCommand |
CommandsFactoryImpl.buildClearDataCommand(GlobalTransaction gtx,
Fqn fqn)
|
CommitCommand |
CommandsFactory.buildCommitCommand(GlobalTransaction gtx)
|
CommitCommand |
CommandsFactoryImpl.buildCommitCommand(GlobalTransaction gtx)
|
OptimisticPrepareCommand |
CommandsFactory.buildOptimisticPrepareCommand(GlobalTransaction gtx,
java.util.List<WriteCommand> modifications,
org.jgroups.Address address,
boolean onePhaseCommit)
|
OptimisticPrepareCommand |
CommandsFactoryImpl.buildOptimisticPrepareCommand(GlobalTransaction gtx,
java.util.List<WriteCommand> modifications,
org.jgroups.Address address,
boolean onePhaseCommit)
|
PrepareCommand |
CommandsFactory.buildPrepareCommand(GlobalTransaction gtx,
java.util.List<WriteCommand> modifications,
org.jgroups.Address address,
boolean onePhaseCommit)
|
PrepareCommand |
CommandsFactoryImpl.buildPrepareCommand(GlobalTransaction gtx,
java.util.List<WriteCommand> modifications,
org.jgroups.Address address,
boolean onePhaseCommit)
|
PrepareCommand |
CommandsFactory.buildPrepareCommand(GlobalTransaction gtx,
WriteCommand command,
boolean onePhaseCommit)
|
PrepareCommand |
CommandsFactoryImpl.buildPrepareCommand(GlobalTransaction gtx,
WriteCommand command,
boolean onePhaseCommit)
|
PutDataMapCommand |
CommandsFactory.buildPutDataMapCommand(GlobalTransaction gtx,
Fqn fqn,
java.util.Map data)
|
PutDataMapCommand |
PessimisticCommandsFactoryImpl.buildPutDataMapCommand(GlobalTransaction gtx,
Fqn fqn,
java.util.Map data)
Deprecated. |
PutDataMapCommand |
CommandsFactoryImpl.buildPutDataMapCommand(GlobalTransaction gtx,
Fqn fqn,
java.util.Map data)
|
PutForExternalReadCommand |
CommandsFactory.buildPutForExternalReadCommand(GlobalTransaction gtx,
Fqn fqn,
java.lang.Object key,
java.lang.Object value)
|
PutForExternalReadCommand |
PessimisticCommandsFactoryImpl.buildPutForExternalReadCommand(GlobalTransaction gtx,
Fqn fqn,
java.lang.Object key,
java.lang.Object value)
Deprecated. |
PutForExternalReadCommand |
CommandsFactoryImpl.buildPutForExternalReadCommand(GlobalTransaction gtx,
Fqn fqn,
java.lang.Object key,
java.lang.Object value)
|
PutKeyValueCommand |
CommandsFactory.buildPutKeyValueCommand(GlobalTransaction gtx,
Fqn fqn,
java.lang.Object key,
java.lang.Object value)
|
PutKeyValueCommand |
PessimisticCommandsFactoryImpl.buildPutKeyValueCommand(GlobalTransaction gtx,
Fqn fqn,
java.lang.Object key,
java.lang.Object value)
Deprecated. |
PutKeyValueCommand |
CommandsFactoryImpl.buildPutKeyValueCommand(GlobalTransaction gtx,
Fqn fqn,
java.lang.Object key,
java.lang.Object value)
|
RemoveKeyCommand |
CommandsFactory.buildRemoveKeyCommand(GlobalTransaction tx,
Fqn fqn,
java.lang.Object key)
|
RemoveKeyCommand |
PessimisticCommandsFactoryImpl.buildRemoveKeyCommand(GlobalTransaction tx,
Fqn fqn,
java.lang.Object key)
Deprecated. |
RemoveKeyCommand |
CommandsFactoryImpl.buildRemoveKeyCommand(GlobalTransaction tx,
Fqn fqn,
java.lang.Object key)
|
RemoveNodeCommand |
CommandsFactory.buildRemoveNodeCommand(GlobalTransaction gtx,
Fqn fqn)
|
RemoveNodeCommand |
PessimisticCommandsFactoryImpl.buildRemoveNodeCommand(GlobalTransaction gtx,
Fqn fqn)
Deprecated. |
RemoveNodeCommand |
CommandsFactoryImpl.buildRemoveNodeCommand(GlobalTransaction gtx,
Fqn fqn)
|
RollbackCommand |
CommandsFactory.buildRollbackCommand(GlobalTransaction gtx)
|
RollbackCommand |
CommandsFactoryImpl.buildRollbackCommand(GlobalTransaction gtx)
|
void |
WriteCommand.setGlobalTransaction(GlobalTransaction gtx)
Sets a GlobalTransaction on this command. |
Uses of GlobalTransaction in org.jboss.cache.commands.legacy.write |
---|
Fields in org.jboss.cache.commands.legacy.write declared as GlobalTransaction | |
---|---|
protected GlobalTransaction |
VersionedInvalidateCommand.globalTransaction
Deprecated. Params. |
Methods in org.jboss.cache.commands.legacy.write that return GlobalTransaction | |
---|---|
GlobalTransaction |
VersionedInvalidateCommand.getGlobalTransaction()
Deprecated. |
GlobalTransaction |
CreateNodeCommand.getGlobalTransaction()
Deprecated. |
Methods in org.jboss.cache.commands.legacy.write with parameters of type GlobalTransaction | |
---|---|
void |
VersionedInvalidateCommand.setGlobalTransaction(GlobalTransaction gtx)
Deprecated. |
void |
CreateNodeCommand.setGlobalTransaction(GlobalTransaction gtx)
Deprecated. |
Constructors in org.jboss.cache.commands.legacy.write with parameters of type GlobalTransaction | |
---|---|
PessClearDataCommand(GlobalTransaction gtx,
Fqn fqn)
Deprecated. |
|
PessPutDataMapCommand(GlobalTransaction globalTransaction,
Fqn fqn,
java.util.Map data)
Deprecated. |
|
PessPutForExternalReadCommand(GlobalTransaction gtx,
Fqn fqn,
java.lang.Object key,
java.lang.Object value)
Deprecated. |
|
PessPutKeyValueCommand(GlobalTransaction gtx,
Fqn fqn,
java.lang.Object key,
java.lang.Object value)
Deprecated. |
|
PessRemoveKeyCommand(GlobalTransaction gtx,
Fqn fqn,
java.lang.Object key)
Deprecated. |
|
PessRemoveNodeCommand(GlobalTransaction globalTransaction,
Fqn fqn)
Deprecated. |
Uses of GlobalTransaction in org.jboss.cache.commands.remote |
---|
Methods in org.jboss.cache.commands.remote that return GlobalTransaction | |
---|---|
GlobalTransaction |
DataGravitationCleanupCommand.getGlobalTransaction()
|
Methods in org.jboss.cache.commands.remote with parameters of type GlobalTransaction | |
---|---|
void |
DataGravitationCleanupCommand.setGlobalTransaction(GlobalTransaction gtx)
|
Uses of GlobalTransaction in org.jboss.cache.commands.tx |
---|
Fields in org.jboss.cache.commands.tx declared as GlobalTransaction | |
---|---|
protected GlobalTransaction |
AbstractTransactionCommand.globalTransaction
|
Methods in org.jboss.cache.commands.tx that return GlobalTransaction | |
---|---|
GlobalTransaction |
AbstractTransactionCommand.getGlobalTransaction()
|
Methods in org.jboss.cache.commands.tx with parameters of type GlobalTransaction | |
---|---|
void |
AbstractTransactionCommand.setGlobalTransaction(GlobalTransaction gtx)
|
Constructors in org.jboss.cache.commands.tx with parameters of type GlobalTransaction | |
---|---|
CommitCommand(GlobalTransaction globalTransaction)
|
|
OptimisticPrepareCommand(GlobalTransaction gtx,
java.util.List<WriteCommand> modifications,
org.jgroups.Address address,
boolean onePhaseCommit)
|
|
PrepareCommand(GlobalTransaction gtx,
java.util.List<WriteCommand> modifications,
org.jgroups.Address localAddress,
boolean onePhaseCommit)
|
|
RollbackCommand(GlobalTransaction globalTransaction)
|
Uses of GlobalTransaction in org.jboss.cache.commands.write |
---|
Fields in org.jboss.cache.commands.write declared as GlobalTransaction | |
---|---|
protected GlobalTransaction |
AbstractVersionedDataCommand.globalTransaction
|
protected GlobalTransaction |
MoveCommand.globalTransaction
|
Methods in org.jboss.cache.commands.write that return GlobalTransaction | |
---|---|
GlobalTransaction |
AbstractVersionedDataCommand.getGlobalTransaction()
|
GlobalTransaction |
MoveCommand.getGlobalTransaction()
|
Methods in org.jboss.cache.commands.write with parameters of type GlobalTransaction | |
---|---|
void |
AbstractVersionedDataCommand.setGlobalTransaction(GlobalTransaction globalTransaction)
|
void |
MoveCommand.setGlobalTransaction(GlobalTransaction globalTransaction)
|
Constructors in org.jboss.cache.commands.write with parameters of type GlobalTransaction | |
---|---|
ClearDataCommand(GlobalTransaction gtx,
Fqn fqn)
|
|
PutDataMapCommand(GlobalTransaction globalTransaction,
Fqn fqn,
java.util.Map data)
|
|
PutForExternalReadCommand(GlobalTransaction gtx,
Fqn fqn,
java.lang.Object key,
java.lang.Object value)
|
|
PutKeyValueCommand(GlobalTransaction gtx,
Fqn fqn,
java.lang.Object key,
java.lang.Object value)
|
|
RemoveKeyCommand(GlobalTransaction gtx,
Fqn fqn,
java.lang.Object key)
|
|
RemoveNodeCommand(GlobalTransaction globalTransaction,
Fqn fqn)
|
Uses of GlobalTransaction in org.jboss.cache.interceptors |
---|
Fields in org.jboss.cache.interceptors with type parameters of type GlobalTransaction | |
---|---|
protected java.util.Map<GlobalTransaction,java.util.List<WriteCommand>> |
InvalidationInterceptor.txMods
|
Methods in org.jboss.cache.interceptors that return GlobalTransaction | |
---|---|
protected GlobalTransaction |
OptimisticInterceptor.getGlobalTransaction(InvocationContext ctx)
Deprecated. |
Methods in org.jboss.cache.interceptors with parameters of type GlobalTransaction | |
---|---|
protected void |
OptimisticReplicationInterceptor.broadcastCommit(GlobalTransaction gtx,
InvocationContext ctx)
Deprecated. |
protected void |
OptimisticReplicationInterceptor.broadcastPrepare(OptimisticPrepareCommand command,
GlobalTransaction gtx,
InvocationContext ctx)
Deprecated. |
protected void |
OptimisticReplicationInterceptor.broadcastRollback(GlobalTransaction gtx,
InvocationContext ctx)
Deprecated. |
protected PrepareCommand |
TxInterceptor.buildPrepareCommand(GlobalTransaction gtx,
java.util.List modifications,
boolean onePhaseCommit)
|
protected PrepareCommand |
OptimisticTxInterceptor.buildPrepareCommand(GlobalTransaction gtx,
java.util.List modifications,
boolean onePhaseCommit)
Deprecated. |
protected WorkspaceNode |
OptimisticInterceptor.lockAndCreateWorkspaceNode(NodeFactory<?,?> nodeFactory,
NodeSPI node,
TransactionWorkspace<?,?> workspace,
GlobalTransaction gtx,
long timeout)
Deprecated. |
protected CacheStoreInterceptor.StoreModificationsBuilder |
CacheStoreInterceptor.prepareCacheLoader(GlobalTransaction gtx,
TransactionContext transactionContext,
boolean onePhase)
|
protected void |
TxInterceptor.runCommitPhase(InvocationContext ctx,
GlobalTransaction gtx,
java.util.List modifications,
boolean onePhaseCommit)
creates a commit() |
java.lang.Object |
TxInterceptor.runPreparePhase(InvocationContext ctx,
GlobalTransaction gtx,
java.util.List<WriteCommand> modifications)
Handles a local prepare - invoked by the sync handler. |
protected void |
ReplicationInterceptor.runPreparePhase(PrepareCommand prepareMethod,
GlobalTransaction gtx,
InvocationContext ctx)
Calls prepare(GlobalTransaction,List,org.jgroups.Address,boolean)) in all members except self. |
protected void |
TxInterceptor.runRollbackPhase(InvocationContext ctx,
GlobalTransaction gtx,
javax.transaction.Transaction tx)
creates a rollback() |
protected void |
BaseTransactionalContextInterceptor.setTransactionalContext(javax.transaction.Transaction tx,
GlobalTransaction gtx,
TransactionContext tCtx,
InvocationContext ctx)
|
Uses of GlobalTransaction in org.jboss.cache.invocation |
---|
Methods in org.jboss.cache.invocation that return GlobalTransaction | |
---|---|
GlobalTransaction |
CacheInvocationDelegate.getCurrentTransaction()
|
GlobalTransaction |
CacheInvocationDelegate.getCurrentTransaction(javax.transaction.Transaction tx,
boolean createIfNotExists)
|
Methods in org.jboss.cache.invocation with parameters of type GlobalTransaction | |
---|---|
NodeSPI<K,V> |
NodeInvocationDelegate.getOrCreateChild(java.lang.Object name,
GlobalTransaction tx)
|
Uses of GlobalTransaction in org.jboss.cache.lock |
---|
Methods in org.jboss.cache.lock with parameters of type GlobalTransaction | |
---|---|
static boolean |
LockUtil.breakTransactionLock(Fqn fqn,
LockManager lockManager,
GlobalTransaction gtx,
boolean localTx,
TransactionTable tx_table,
javax.transaction.TransactionManager tm)
|
Uses of GlobalTransaction in org.jboss.cache.mvcc |
---|
Methods in org.jboss.cache.mvcc with parameters of type GlobalTransaction | |
---|---|
NodeSPI<K,V> |
NodeReference.getOrCreateChild(java.lang.Object child_name,
GlobalTransaction gtx)
|
Uses of GlobalTransaction in org.jboss.cache.transaction |
---|
Fields in org.jboss.cache.transaction with type parameters of type GlobalTransaction | |
---|---|
protected java.util.Map<GlobalTransaction,TransactionContext> |
TransactionTable.gtx2ContextMap
Mappings between GlobalTransactions and modifications. |
protected java.util.Map<GlobalTransaction,javax.transaction.Transaction> |
TransactionTable.gtx2TxMap
|
protected java.util.Map<javax.transaction.Transaction,GlobalTransaction> |
TransactionTable.tx2gtxMap
Mapping between local (javax.transaction.Transaction) and GlobalTransactions. |
Methods in org.jboss.cache.transaction that return GlobalTransaction | |
---|---|
static GlobalTransaction |
GlobalTransaction.create(org.jgroups.Address addr)
|
GlobalTransaction |
TransactionTable.get(javax.transaction.Transaction tx)
Returns the global transaction associated with the local transaction. |
GlobalTransaction |
TransactionTable.getCurrentTransaction()
Returns the transaction associated with the current thread. |
GlobalTransaction |
TransactionTable.getCurrentTransaction(boolean createIfNotExists)
Returns the transaction associated with the thread; optionally creating it if is does not exist. |
GlobalTransaction |
TransactionTable.getCurrentTransaction(javax.transaction.Transaction tx)
Returns the global transaction for this local transaction. |
GlobalTransaction |
TransactionTable.getCurrentTransaction(javax.transaction.Transaction tx,
boolean createIfNotExists)
Returns the global transaction for this local transaction. |
GlobalTransaction |
TransactionLog.LogEntry.getTransaction()
|
GlobalTransaction |
TransactionTable.remove(javax.transaction.Transaction tx)
Removes a local transation, returns the global transaction entry. |
Methods in org.jboss.cache.transaction with parameters of type GlobalTransaction | |
---|---|
TransactionContext |
TransactionTable.get(GlobalTransaction gtx)
Returns the local transaction entry for the global transaction. |
javax.transaction.Transaction |
TransactionTable.getLocalTransaction(GlobalTransaction gtx)
Returns the local transaction associated with a GlobalTransaction. |
javax.transaction.Transaction |
TransactionTable.getLocalTransaction(GlobalTransaction gtx,
boolean assertExists)
If assers exists is true and the coresponding local transaction is null an IllegalStateExcetpion is being thrown. |
void |
TransactionLog.logCommit(GlobalTransaction gtx)
|
void |
TransactionLog.logOnePhaseCommit(GlobalTransaction gtx,
java.util.List<WriteCommand> modifications)
|
void |
TransactionTable.put(GlobalTransaction tx,
TransactionContext transactionContext)
Associates the global transaction with a transaction context. |
void |
TransactionTable.put(javax.transaction.Transaction tx,
GlobalTransaction gtx)
Associates the global transaction with the local transaction. |
TransactionContext |
TransactionTable.remove(GlobalTransaction tx)
Removes a global transation, returns the old transaction entry. |
void |
TransactionTable.remove(GlobalTransaction gtx,
javax.transaction.Transaction tx)
|
void |
TransactionLog.rollback(GlobalTransaction gtx)
|
Constructors in org.jboss.cache.transaction with parameters of type GlobalTransaction | |
---|---|
TransactionLog.LogEntry(GlobalTransaction transaction,
java.util.List<WriteCommand> modifications)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |