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 DataContainer.peekStrict(GlobalTransaction gtx, Fqn fqn, boolean includeInvalid)
          Similar to DataContainer.peek(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 AbstractVersionedDataCommand.globalTransaction
           
 

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

Methods in org.jboss.cache.commands.write with parameters of type GlobalTransaction
 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
PutDataMapCommand(GlobalTransaction globalTransaction, Fqn fqn, Map data, boolean createUndoOps, boolean eraseContents)
           
PutKeyValueCommand(GlobalTransaction gtx, Fqn fqn, Object key, Object value, boolean createUndoOps, boolean putForExternalRead)
           
RemoveDataCommand(GlobalTransaction gtx, Fqn fqn, boolean createUndoops, boolean sendNodeEvent, boolean eviction)
           
RemoveKeyCommand(GlobalTransaction gtx, Fqn fqn, Object key, boolean createUndoOps)
           
RemoveNodeCommand(GlobalTransaction globalTransaction, Fqn fqn, boolean createUndoOps, boolean skipSendingNodeEvents, boolean eviction)
           
 

Uses of GlobalTransaction in org.jboss.cache.factories
 

Methods in org.jboss.cache.factories with parameters of type GlobalTransaction
 CommitCommand CommandsFactory.buildCommitCommand(GlobalTransaction gtx)
           
 OptimisticPrepareCommand CommandsFactory.buildOptimisticPrepareCommand(GlobalTransaction gtx, List<ReversibleCommand> modifications, Map data, org.jgroups.Address address, boolean onePhaseCommit)
           
 OptimisticPrepareCommand CommandsFactory.buildOptimisticPrepareCommand(GlobalTransaction gtx, ReversibleCommand command)
           
 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, boolean createUndoOps, boolean eraseContents)
           
 PutKeyValueCommand CommandsFactory.buildPutKeyValueCommand(GlobalTransaction gtx, Fqn fqn, Object key, Object value, boolean createUndoOps, boolean putForExternalRead)
           
 RemoveDataCommand CommandsFactory.buildRemoveDataCommand(GlobalTransaction gtx, Fqn fqn, boolean createUndoops, boolean sendNodeEvent, boolean eviction)
           
 RemoveKeyCommand CommandsFactory.buildRemoveKeyCommand(GlobalTransaction tx, Fqn<?> fqn, Object key, boolean b)
           
 RemoveNodeCommand CommandsFactory.buildRemoveNodeCommand(GlobalTransaction gtx, Fqn fqn, boolean eviction, boolean skipSendingNodeEvents, boolean createUndoOps)
           
 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  TransactionWorkspace OptimisticReplicationInterceptor.getTransactionWorkspace(GlobalTransaction gtx)
           
protected  TransactionWorkspace OptimisticInterceptor.getTransactionWorkspace(GlobalTransaction gtx)
           
protected  TransactionWorkspace InvalidationInterceptor.getWorkspace(GlobalTransaction gtx)
           
 Object InvocationContextInterceptor.handleAll(InvocationContext ctx, VisitableCommand command, GlobalTransaction gtx)
           
protected  WorkspaceNode OptimisticInterceptor.lockAndCreateWorkspaceNode(NodeFactory nodeFactory, NodeSPI node, TransactionWorkspace workspace, GlobalTransaction gtx, long timeout)
           
protected  void TxInterceptor.runCommitPhase(InvocationContext ctx, GlobalTransaction gtx, Transaction tx, List modifications, List clModifications, boolean onePhaseCommit)
          creates a commit() MethodCall and feeds it to handleCommitRollback();
 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() MethodCall and feeds it to handleCommitRollback();
protected  void BaseTransactionalContextInterceptor.setTransactionalContext(Transaction tx, GlobalTransaction gtx, 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(NodeLock lock, GlobalTransaction gtx, boolean localTx, TransactionTable tx_table, TransactionManager tm)
           
 void LockManager.manageReverseRemove(GlobalTransaction gtx, NodeSPI childNode, boolean reverseRemoveCheck, List createdNodes)
          Test if this node needs to be 'undeleted' reverse the "remove" if the node has been previously removed in the same tx, if this operation is a put()
 

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<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
 void TransactionTable.addCacheLoaderModification(GlobalTransaction gtx, ReversibleCommand m)
           
 void TransactionTable.addLock(GlobalTransaction gtx, NodeLock l)
          Adds a lock to the global transaction.
 void TransactionTable.addLocks(GlobalTransaction gtx, Collection<NodeLock> locks)
          Adds a collection of locks to the global transaction.
 void TransactionTable.addModification(GlobalTransaction gtx, ReversibleCommand m)
          Adds a motification to the global transaction.
 void TransactionTable.cleanup(GlobalTransaction gtx)
           
 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.
 void TransactionTable.recordNodeLock(GlobalTransaction gtx, NodeLock lock)
          Add the lock to the list of locks maintained for this transaction (needed for release of locks on commit or rollback)
 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.