Uses of Class
org.jboss.cache.transaction.GlobalTransaction

Packages that use GlobalTransaction
org.jboss.cache   
org.jboss.cache.commands   
org.jboss.cache.commands.remote   
org.jboss.cache.commands.tx   
org.jboss.cache.commands.write   
org.jboss.cache.factories   
org.jboss.cache.interceptors   
org.jboss.cache.invocation   
org.jboss.cache.lock   
org.jboss.cache.transaction   
 

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(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(Object name, GlobalTransaction tx)
          Returns an existing child or creates a new one using a global transaction.
 NodeSPI UnversionedNode.getOrCreateChild(Object child_name, GlobalTransaction gtx, boolean notify)
           
 NodeSPI DataContainerImpl.peekStrict(GlobalTransaction gtx, Fqn fqn, boolean includeInvalid)
           
 NodeSPI DataContainer.peekStrict(GlobalTransaction gtx, Fqn fqn, boolean includeInvalid)
          Similar to DataContainer.peekVersioned(Fqn, org.jboss.cache.optimistic.DataVersion) except that it throws a NodeNotExistsException if the node cannot be found.
 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 ReversibleCommand.getGlobalTransaction()
           
 

Methods in org.jboss.cache.commands with parameters of type GlobalTransaction
 void ReversibleCommand.setGlobalTransaction(GlobalTransaction gtx)
          Sets a GlobalTransaction on this command.
 

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, List<ReversibleCommand> modifications, Map data, org.jgroups.Address address, boolean onePhaseCommit)
           
PrepareCommand(GlobalTransaction gtx, List<ReversibleCommand> 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 OptimisticInvalidateCommand.globalTransaction
          Params.
protected  GlobalTransaction AbstractVersionedDataCommand.globalTransaction
           
 

Methods in org.jboss.cache.commands.write that return GlobalTransaction
 GlobalTransaction OptimisticInvalidateCommand.getGlobalTransaction()
           
 GlobalTransaction MoveCommand.getGlobalTransaction()
           
 GlobalTransaction CreateNodeCommand.getGlobalTransaction()
           
 GlobalTransaction AbstractVersionedDataCommand.getGlobalTransaction()
           
 

Methods in org.jboss.cache.commands.write with parameters of type GlobalTransaction
 void OptimisticInvalidateCommand.setGlobalTransaction(GlobalTransaction gtx)
           
 void MoveCommand.setGlobalTransaction(GlobalTransaction globalTransaction)
           
 void CreateNodeCommand.setGlobalTransaction(GlobalTransaction gtx)
           
 void AbstractVersionedDataCommand.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, Map data)
           
PutForExternalReadCommand(GlobalTransaction gtx, Fqn fqn, Object key, Object value)
           
PutKeyValueCommand(GlobalTransaction gtx, Fqn fqn, Object key, Object value)
           
RemoveKeyCommand(GlobalTransaction gtx, Fqn fqn, Object key)
           
RemoveNodeCommand(GlobalTransaction globalTransaction, Fqn fqn)
           
 

Uses of GlobalTransaction in org.jboss.cache.factories
 

Methods in org.jboss.cache.factories with parameters of type GlobalTransaction
 ClearDataCommand CommandsFactory.buildClearDataCommand(GlobalTransaction gtx, Fqn fqn)
           
 CommitCommand CommandsFactory.buildCommitCommand(GlobalTransaction gtx)
           
 OptimisticPrepareCommand CommandsFactory.buildOptimisticPrepareCommand(GlobalTransaction gtx, List<ReversibleCommand> modifications, Map data, org.jgroups.Address address, boolean onePhaseCommit)
           
 PrepareCommand CommandsFactory.buildPrepareCommand(GlobalTransaction gtx, List<ReversibleCommand> modifications, org.jgroups.Address address, boolean onePhaseCommit)
           
 PrepareCommand CommandsFactory.buildPrepareCommand(GlobalTransaction gtx, ReversibleCommand command, boolean onePhaseCommit)
           
 PutDataMapCommand CommandsFactory.buildPutDataMapCommand(GlobalTransaction gtx, Fqn fqn, Map data)
           
 PutForExternalReadCommand CommandsFactory.buildPutForExternalReadCommand(GlobalTransaction gtx, Fqn fqn, Object key, Object value)
           
 PutKeyValueCommand CommandsFactory.buildPutKeyValueCommand(GlobalTransaction gtx, Fqn fqn, Object key, Object value)
           
 RemoveKeyCommand CommandsFactory.buildRemoveKeyCommand(GlobalTransaction tx, Fqn<?> fqn, Object key)
           
 RemoveNodeCommand CommandsFactory.buildRemoveNodeCommand(GlobalTransaction gtx, Fqn fqn)
           
 RollbackCommand CommandsFactory.buildRollbackCommand(GlobalTransaction gtx)
           
 

Uses of GlobalTransaction in org.jboss.cache.interceptors
 

Fields in org.jboss.cache.interceptors with type parameters of type GlobalTransaction
protected  Map<GlobalTransaction,List<ReversibleCommand>> InvalidationInterceptor.txMods
           
 

Methods in org.jboss.cache.interceptors that return GlobalTransaction
protected  GlobalTransaction OptimisticInterceptor.getGlobalTransaction(InvocationContext ctx)
           
 

Methods in org.jboss.cache.interceptors with parameters of type GlobalTransaction
protected  void OptimisticReplicationInterceptor.broadcastCommit(GlobalTransaction gtx, InvocationContext ctx)
           
protected  void OptimisticReplicationInterceptor.broadcastPrepare(OptimisticPrepareCommand command, GlobalTransaction gtx, InvocationContext ctx)
           
protected  void OptimisticReplicationInterceptor.broadcastRollback(GlobalTransaction gtx, InvocationContext ctx)
           
protected  PrepareCommand TxInterceptor.buildPrepareCommand(GlobalTransaction gtx, List modifications, boolean onePhaseCommit)
           
protected  PrepareCommand OptimisticTxInterceptor.buildPrepareCommand(GlobalTransaction gtx, List modifications, boolean onePhaseCommit)
           
protected  WorkspaceNode OptimisticInterceptor.lockAndCreateWorkspaceNode(NodeFactory nodeFactory, NodeSPI node, TransactionWorkspace workspace, GlobalTransaction gtx, long timeout)
           
protected  void TxInterceptor.runCommitPhase(InvocationContext ctx, GlobalTransaction gtx, List modifications, boolean onePhaseCommit)
          creates a commit()
 Object TxInterceptor.runPreparePhase(InvocationContext ctx, GlobalTransaction gtx, List<ReversibleCommand> 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, Transaction tx, List<ReversibleCommand> modifications)
          creates a rollback()
protected  void BaseTransactionalContextInterceptor.setTransactionalContext(Transaction tx, GlobalTransaction gtx, TransactionEntry entry, 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(Transaction tx, boolean createIfNotExists)
           
 

Methods in org.jboss.cache.invocation with parameters of type GlobalTransaction
 NodeSPI<K,V> NodeInvocationDelegate.getOrCreateChild(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(NodeSPI node, LockManager lockManager, GlobalTransaction gtx, boolean localTx, TransactionTable tx_table, TransactionManager tm)
           
 

Uses of GlobalTransaction in org.jboss.cache.transaction
 

Fields in org.jboss.cache.transaction with type parameters of type GlobalTransaction
protected  Map<GlobalTransaction,TransactionEntry> TransactionTable.gtx2EntryMap
          Mappings between GlobalTransactions and modifications.
protected  Map<GlobalTransaction,Transaction> TransactionTable.gtx2TxMap
           
protected  Map<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(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(Transaction tx)
          Returns the global transaction for this local transaction.
 GlobalTransaction TransactionTable.getCurrentTransaction(Transaction tx, boolean createIfNotExists)
          Returns the global transaction for this local transaction.
 GlobalTransaction TransactionTable.remove(Transaction tx)
          Removes a local transation, returns the global transaction entry.
 

Methods in org.jboss.cache.transaction with parameters of type GlobalTransaction
 TransactionEntry TransactionTable.get(GlobalTransaction gtx)
          Returns the local transaction entry for the global transaction.
 Transaction TransactionTable.getLocalTransaction(GlobalTransaction gtx)
          Returns the local transaction associated with a GlobalTransaction.
 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 TransactionTable.put(GlobalTransaction tx, TransactionEntry entry)
          Associates the global transaction with a transaction entry.
 void TransactionTable.put(Transaction tx, GlobalTransaction gtx)
          Associates the global transaction with the local transaction.
 TransactionEntry TransactionTable.remove(GlobalTransaction tx)
          Removes a global transation, returns the old transaction entry.
 void TransactionTable.remove(GlobalTransaction gtx, Transaction tx)
           
 



Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.