Uses of Class
org.infinispan.transaction.GlobalTransaction

Packages that use GlobalTransaction
org.infinispan.commands   
org.infinispan.commands.tx   
org.infinispan.context   
org.infinispan.interceptors   
org.infinispan.transaction   
 

Uses of GlobalTransaction in org.infinispan.commands
 

Methods in org.infinispan.commands that return GlobalTransaction
 GlobalTransaction TransactionBoundaryCommand.getGlobalTransaction()
           
 

Methods in org.infinispan.commands with parameters of type GlobalTransaction
 CommitCommand CommandsFactoryImpl.buildCommitCommand(GlobalTransaction gtx)
           
 CommitCommand CommandsFactory.buildCommitCommand(GlobalTransaction gtx)
           
 PrepareCommand CommandsFactoryImpl.buildPrepareCommand(GlobalTransaction gtx, List modifications, Address localAddress, boolean onePhaseCommit)
           
 PrepareCommand CommandsFactory.buildPrepareCommand(GlobalTransaction gtx, List modifications, Address localAddress, boolean onePhaseCommit)
           
 RollbackCommand CommandsFactoryImpl.buildRollbackCommand(GlobalTransaction gtx)
           
 RollbackCommand CommandsFactory.buildRollbackCommand(GlobalTransaction gtx)
           
 void TransactionBoundaryCommand.setGlobalTransaction(GlobalTransaction gtx)
           
 

Uses of GlobalTransaction in org.infinispan.commands.tx
 

Methods in org.infinispan.commands.tx that return GlobalTransaction
 GlobalTransaction AbstractTransactionBoundaryCommand.getGlobalTransaction()
           
 

Methods in org.infinispan.commands.tx with parameters of type GlobalTransaction
 void AbstractTransactionBoundaryCommand.setGlobalTransaction(GlobalTransaction gtx)
           
 

Constructors in org.infinispan.commands.tx with parameters of type GlobalTransaction
CommitCommand(GlobalTransaction gtx)
           
PrepareCommand(GlobalTransaction gtx, Address localAddress, boolean onePhaseCommit, WriteCommand... modifications)
           
PrepareCommand(GlobalTransaction gtx, List<WriteCommand> commands, Address localAddress, boolean onePhaseCommit)
           
RollbackCommand(GlobalTransaction globalTransaction)
           
 

Uses of GlobalTransaction in org.infinispan.context
 

Methods in org.infinispan.context that return GlobalTransaction
 GlobalTransaction InvocationContextImpl.getGlobalTransaction()
          Retrieves the global transaction associated with this invocation
 GlobalTransaction InvocationContext.getGlobalTransaction()
           
 GlobalTransaction TransactionContextImpl.getGobalTransaction()
           
 GlobalTransaction TransactionContext.getGobalTransaction()
           
 

Methods in org.infinispan.context with parameters of type GlobalTransaction
 void TransactionContextImpl.setGlobalTransaction(GlobalTransaction gtx)
           
 void TransactionContext.setGlobalTransaction(GlobalTransaction gtx)
           
 void InvocationContextImpl.setGlobalTransaction(GlobalTransaction globalTransaction)
          Sets the global transaction associated with this invocation
 void InvocationContext.setGlobalTransaction(GlobalTransaction globalTransaction)
           
 

Uses of GlobalTransaction in org.infinispan.interceptors
 

Fields in org.infinispan.interceptors with type parameters of type GlobalTransaction
protected  Map<GlobalTransaction,List<VisitableCommand>> InvalidationInterceptor.txMods
           
 

Methods in org.infinispan.interceptors with parameters of type GlobalTransaction
protected  PrepareCommand TxInterceptor.buildPrepareCommand(GlobalTransaction gtx, List<WriteCommand> modifications, boolean onePhaseCommit)
           
protected  void TxInterceptor.runCommitPhase(InvocationContext ctx, GlobalTransaction gtx, List<WriteCommand> modifications, boolean onePhaseCommit)
          creates a commit()
 Object TxInterceptor.runPreparePhase(InvocationContext ctx, GlobalTransaction gtx, 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,Address,boolean)) in all members except self.
protected  void TxInterceptor.runRollbackPhase(InvocationContext ctx, GlobalTransaction gtx, Transaction tx)
          creates a rollback()
protected  void BaseTransactionalContextInterceptor.setTransactionalContext(Transaction tx, GlobalTransaction gtx, TransactionContext tCtx, InvocationContext ctx)
           
 

Uses of GlobalTransaction in org.infinispan.transaction
 

Fields in org.infinispan.transaction with type parameters of type GlobalTransaction
protected  Map<GlobalTransaction,TransactionContext> TransactionTable.gtxMapping
          Mappong between GlobalTransaction and a TransactionContext
 

Methods in org.infinispan.transaction that return GlobalTransaction
static GlobalTransaction GlobalTransaction.create(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 TransactionLog.LogEntry.getTransaction()
           
 

Methods in org.infinispan.transaction with parameters of type GlobalTransaction
 void TransactionTable.associateTransaction(Transaction tx, GlobalTransaction gtx, TransactionContext ctx)
          Associates 3 elements of a transaction - a local Transaction, a GlobalTransaction and a TransactionContext - with each other.
 void TransactionTable.cleanup(GlobalTransaction gtx)
           
 Transaction TransactionTable.getLocalTransaction(GlobalTransaction gtx)
           
 Transaction TransactionTable.getLocalTransaction(GlobalTransaction gtx, boolean assertExists)
          If assers exists is true and the coresponding local transaction is null an IllegalStateExcetpion is being thrown.
 TransactionContext TransactionTable.getTransactionContext(GlobalTransaction gtx)
           
 void TransactionLog.logCommit(GlobalTransaction gtx)
           
 void TransactionLog.logOnePhaseCommit(GlobalTransaction gtx, List<WriteCommand> modifications)
           
 void TransactionLog.rollback(GlobalTransaction gtx)
           
 

Constructors in org.infinispan.transaction with parameters of type GlobalTransaction
TransactionLog.LogEntry(GlobalTransaction transaction, WriteCommand... modifications)
           
 



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