|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use GlobalTransaction | |
---|---|
org.infinispan.commands | Commands that operate on the cache, either locally or remotely. |
org.infinispan.commands.control | Commands that control and coordinate certain cache operations, such as rehashing, state transfer and locking. |
org.infinispan.commands.tx | Commands that represent transactional lifecycle transitions. |
org.infinispan.context | Contexts contain information of a specific invocation on the cache, such as its origins, scope (transactional or non-transactional), as well as invocation-specific flags. |
org.infinispan.context.impl | This package contains different context implementations, selected dynamically based on the type of invocation. |
org.infinispan.interceptors | Infinispan is designed around a set of interceptors around a data container. |
org.infinispan.loaders | This package contains loaders and stores, which are used for overflow or persistence. |
org.infinispan.loaders.bdbje | This package contains a CacheStore implementation based on
Oracle's BDBJE storage engine. |
org.infinispan.loaders.decorators | This package contains loaders and stores, which are used for overflow or persistence. |
org.infinispan.notifications.cachelistener | Cache -specific notifications and eventing. |
org.infinispan.notifications.cachelistener.event | |
org.infinispan.transaction | JTA transaction support. |
org.infinispan.transaction.synchronization | |
org.infinispan.transaction.xa | XA transaction support. |
org.infinispan.transaction.xa.recovery | |
org.infinispan.util.logging | Infinispan's logging abstractions that delegate to either JDK or Log4J logging engines. |
Uses of GlobalTransaction in org.infinispan.commands |
---|
Methods in org.infinispan.commands with parameters of type GlobalTransaction | |
---|---|
CommitCommand |
CommandsFactoryImpl.buildCommitCommand(GlobalTransaction gtx)
|
CommitCommand |
CommandsFactory.buildCommitCommand(GlobalTransaction gtx)
Builds a CommitCommand |
PrepareCommand |
CommandsFactoryImpl.buildPrepareCommand(GlobalTransaction gtx,
List<WriteCommand> modifications,
boolean onePhaseCommit)
|
PrepareCommand |
CommandsFactory.buildPrepareCommand(GlobalTransaction gtx,
List<WriteCommand> modifications,
boolean onePhaseCommit)
Builds a PrepareCommand |
RollbackCommand |
CommandsFactoryImpl.buildRollbackCommand(GlobalTransaction gtx)
|
RollbackCommand |
CommandsFactory.buildRollbackCommand(GlobalTransaction gtx)
Builds a RollbackCommand |
Uses of GlobalTransaction in org.infinispan.commands.control |
---|
Methods in org.infinispan.commands.control with parameters of type GlobalTransaction | |
---|---|
void |
LockControlCommand.attachGlobalTransaction(GlobalTransaction gtx)
|
Uses of GlobalTransaction in org.infinispan.commands.tx |
---|
Fields in org.infinispan.commands.tx declared as GlobalTransaction | |
---|---|
protected GlobalTransaction |
AbstractTransactionBoundaryCommand.globalTx
|
Methods in org.infinispan.commands.tx that return GlobalTransaction | |
---|---|
GlobalTransaction |
TransactionBoundaryCommand.getGlobalTransaction()
|
GlobalTransaction |
AbstractTransactionBoundaryCommand.getGlobalTransaction()
|
Constructors in org.infinispan.commands.tx with parameters of type GlobalTransaction | |
---|---|
CommitCommand(GlobalTransaction gtx)
|
|
PrepareCommand(GlobalTransaction gtx,
boolean onePhaseCommit,
WriteCommand... modifications)
|
|
PrepareCommand(GlobalTransaction gtx,
List<WriteCommand> commands,
boolean onePhaseCommit)
|
|
RollbackCommand(GlobalTransaction globalTransaction)
|
Uses of GlobalTransaction in org.infinispan.context |
---|
Methods in org.infinispan.context that return GlobalTransaction | |
---|---|
GlobalTransaction |
TransactionalInvocationContextFlagsOverride.getGlobalTransaction()
|
Uses of GlobalTransaction in org.infinispan.context.impl |
---|
Methods in org.infinispan.context.impl that return GlobalTransaction | |
---|---|
GlobalTransaction |
TxInvocationContext.getGlobalTransaction()
Returns the id of the transaction assoctiated with the current call. |
GlobalTransaction |
RemoteTxInvocationContext.getGlobalTransaction()
|
GlobalTransaction |
LocalTxInvocationContext.getGlobalTransaction()
|
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
|
Uses of GlobalTransaction in org.infinispan.loaders |
---|
Methods in org.infinispan.loaders with parameters of type GlobalTransaction | |
---|---|
void |
CacheStore.commit(GlobalTransaction tx)
Commits a transaction that has been previously prepared. |
void |
AbstractCacheStore.commit(GlobalTransaction tx)
|
void |
CacheStore.prepare(List<? extends Modification> modifications,
GlobalTransaction tx,
boolean isOnePhase)
Issues a prepare call with a set of modifications to be applied to the cache store |
void |
AbstractCacheStore.prepare(List<? extends Modification> mods,
GlobalTransaction tx,
boolean isOnePhase)
|
void |
CacheStore.rollback(GlobalTransaction tx)
Rolls back a transaction that has been previously prepared This method may be invoked on a transaction for which there is no prior CacheStore.prepare(java.util.List, org.infinispan.transaction.xa.GlobalTransaction, boolean) . |
void |
AbstractCacheStore.rollback(GlobalTransaction tx)
|
Uses of GlobalTransaction in org.infinispan.loaders.bdbje |
---|
Methods in org.infinispan.loaders.bdbje with parameters of type GlobalTransaction | |
---|---|
void |
BdbjeCacheStore.commit(GlobalTransaction tx)
Commits a transaction that has been previously prepared. |
protected void |
BdbjeCacheStore.completeTransaction(GlobalTransaction tx,
boolean commit)
Looks up the SleepyCat transaction associated with the parameter tx . |
protected void |
BdbjeCacheStore.prepare(List<? extends Modification> mods,
GlobalTransaction tx)
Looks up the SleepyCat transaction associated with tx . |
void |
BdbjeCacheStore.prepare(List<? extends Modification> mods,
GlobalTransaction tx,
boolean isOnePhase)
Issues a prepare call with a set of modifications to be applied to the cache store |
void |
BdbjeCacheStore.rollback(GlobalTransaction tx)
Rolls back a transaction that has been previously prepared This method may be invoked on a transaction for which there is no prior CacheStore.prepare(java.util.List, org.infinispan.transaction.xa.GlobalTransaction, boolean) . |
Uses of GlobalTransaction in org.infinispan.loaders.decorators |
---|
Methods in org.infinispan.loaders.decorators with parameters of type GlobalTransaction | |
---|---|
void |
SingletonStore.commit(GlobalTransaction tx)
|
void |
ReadOnlyStore.commit(GlobalTransaction tx)
|
void |
ChainingCacheStore.commit(GlobalTransaction tx)
|
void |
AsyncStore.commit(GlobalTransaction tx)
|
void |
AbstractDelegatingStore.commit(GlobalTransaction tx)
|
void |
SingletonStore.prepare(List<? extends Modification> list,
GlobalTransaction tx,
boolean isOnePhase)
|
void |
ReadOnlyStore.prepare(List<? extends Modification> list,
GlobalTransaction tx,
boolean isOnePhase)
|
void |
ChainingCacheStore.prepare(List<? extends Modification> list,
GlobalTransaction tx,
boolean isOnePhase)
|
void |
AsyncStore.prepare(List<? extends Modification> mods,
GlobalTransaction tx,
boolean isOnePhase)
|
void |
AbstractDelegatingStore.prepare(List<? extends Modification> list,
GlobalTransaction tx,
boolean isOnePhase)
|
void |
SingletonStore.rollback(GlobalTransaction tx)
|
void |
ReadOnlyStore.rollback(GlobalTransaction tx)
|
void |
ChainingCacheStore.rollback(GlobalTransaction tx)
|
void |
AsyncStore.rollback(GlobalTransaction tx)
|
void |
AbstractDelegatingStore.rollback(GlobalTransaction tx)
|
Uses of GlobalTransaction in org.infinispan.notifications.cachelistener |
---|
Methods in org.infinispan.notifications.cachelistener with parameters of type GlobalTransaction | |
---|---|
void |
CacheNotifierImpl.notifyTransactionCompleted(GlobalTransaction transaction,
boolean successful,
InvocationContext ctx)
|
void |
CacheNotifier.notifyTransactionCompleted(GlobalTransaction transaction,
boolean successful,
InvocationContext ctx)
Notifies all registered listeners of a transaction completion event. |
void |
CacheNotifierImpl.notifyTransactionRegistered(GlobalTransaction globalTransaction,
InvocationContext ctx)
|
void |
CacheNotifier.notifyTransactionRegistered(GlobalTransaction globalTransaction,
InvocationContext ctx)
Notifies all registered listeners of a transaction registration event. |
Uses of GlobalTransaction in org.infinispan.notifications.cachelistener.event |
---|
Methods in org.infinispan.notifications.cachelistener.event that return GlobalTransaction | |
---|---|
GlobalTransaction |
TransactionalEvent.getGlobalTransaction()
|
GlobalTransaction |
EventImpl.getGlobalTransaction()
|
Methods in org.infinispan.notifications.cachelistener.event with parameters of type GlobalTransaction | |
---|---|
void |
EventImpl.setTransactionId(GlobalTransaction transaction)
|
Uses of GlobalTransaction in org.infinispan.transaction |
---|
Fields in org.infinispan.transaction declared as GlobalTransaction | |
---|---|
protected GlobalTransaction |
AbstractCacheTransaction.tx
|
Fields in org.infinispan.transaction with type parameters of type GlobalTransaction | |
---|---|
protected ConcurrentMap<GlobalTransaction,RemoteTransaction> |
TransactionTable.remoteTransactions
|
Methods in org.infinispan.transaction that return GlobalTransaction | |
---|---|
GlobalTransaction |
AbstractCacheTransaction.getGlobalTransaction()
|
GlobalTransaction |
TransactionLog.LogEntry.getTransaction()
|
Methods in org.infinispan.transaction with parameters of type GlobalTransaction | |
---|---|
boolean |
TransactionTable.containRemoteTx(GlobalTransaction globalTransaction)
|
RemoteTransaction |
TransactionTable.createRemoteTransaction(GlobalTransaction globalTx)
Creates and register a RemoteTransaction with no modifications. |
RemoteTransaction |
TransactionTable.createRemoteTransaction(GlobalTransaction globalTx,
WriteCommand[] modifications)
Creates and register a RemoteTransaction based on the supplied params. |
Set<Object> |
TransactionTable.getLockedKeysForRemoteTransaction(GlobalTransaction gtx)
|
RemoteTransaction |
TransactionTable.getRemoteTransaction(GlobalTransaction txId)
Returns the RemoteTransaction associated with the supplied transaction id. |
void |
TransactionLog.logCommit(GlobalTransaction gtx)
|
void |
TransactionLog.logOnePhaseCommit(GlobalTransaction gtx,
WriteCommand[] modifications)
|
void |
TransactionTable.remoteTransactionCompleted(GlobalTransaction gtx,
boolean committed)
Removes the RemoteTransaction corresponding to the given tx. |
void |
TransactionTable.remoteTransactionPrepared(GlobalTransaction gtx)
|
void |
TransactionLog.rollback(GlobalTransaction gtx)
|
Constructors in org.infinispan.transaction with parameters of type GlobalTransaction | |
---|---|
LocalTransaction(Transaction transaction,
GlobalTransaction tx)
|
|
RemoteTransaction(GlobalTransaction tx)
|
|
RemoteTransaction(WriteCommand[] modifications,
GlobalTransaction tx)
|
|
TransactionLog.LogEntry(GlobalTransaction transaction,
WriteCommand... modifications)
|
Uses of GlobalTransaction in org.infinispan.transaction.synchronization |
---|
Constructors in org.infinispan.transaction.synchronization with parameters of type GlobalTransaction | |
---|---|
SyncLocalTransaction(Transaction transaction,
GlobalTransaction tx)
|
Uses of GlobalTransaction in org.infinispan.transaction.xa |
---|
Classes in org.infinispan.transaction.xa with type parameters of type GlobalTransaction | |
---|---|
protected static class |
GlobalTransaction.AbstractGlobalTxExternalizer<T extends GlobalTransaction>
|
Subclasses of GlobalTransaction in org.infinispan.transaction.xa | |
---|---|
class |
DldGlobalTransaction
This class is used when deadlock detection is enabled. |
Methods in org.infinispan.transaction.xa that return GlobalTransaction | |
---|---|
protected GlobalTransaction |
TransactionFactory.TxFactoryEnum.addCoinToss(DldGlobalTransaction dldGlobalTransaction)
|
protected GlobalTransaction |
GlobalTransaction.Externalizer.createGlobalTransaction()
|
GlobalTransaction |
CacheTransaction.getGlobalTransaction()
Returns the transaction identifier. |
GlobalTransaction |
TransactionFactory.newGlobalTransaction()
|
abstract GlobalTransaction |
TransactionFactory.TxFactoryEnum.newGlobalTransaction()
|
GlobalTransaction |
TransactionFactory.newGlobalTransaction(Address addr,
boolean remote)
|
abstract GlobalTransaction |
TransactionFactory.TxFactoryEnum.newGlobalTransaction(Address addr,
boolean remote,
ClusterIdGenerator clusterIdGenerator,
boolean clustered)
|
Methods in org.infinispan.transaction.xa that return types with arguments of type GlobalTransaction | |
---|---|
Set<Class<? extends GlobalTransaction>> |
GlobalTransaction.Externalizer.getTypeClasses()
|
Methods in org.infinispan.transaction.xa with parameters of type GlobalTransaction | |
---|---|
LocalTransaction |
TransactionFactory.newLocalTransaction(Transaction tx,
GlobalTransaction gtx)
|
abstract LocalTransaction |
TransactionFactory.TxFactoryEnum.newLocalTransaction(Transaction tx,
GlobalTransaction gtx)
|
RemoteTransaction |
TransactionFactory.newRemoteTransaction(GlobalTransaction tx)
|
abstract RemoteTransaction |
TransactionFactory.TxFactoryEnum.newRemoteTransaction(GlobalTransaction tx)
|
RemoteTransaction |
TransactionFactory.newRemoteTransaction(WriteCommand[] modifications,
GlobalTransaction tx)
|
abstract RemoteTransaction |
TransactionFactory.TxFactoryEnum.newRemoteTransaction(WriteCommand[] modifications,
GlobalTransaction tx)
|
Constructors in org.infinispan.transaction.xa with parameters of type GlobalTransaction | |
---|---|
LocalXaTransaction(Transaction transaction,
GlobalTransaction tx)
|
Uses of GlobalTransaction in org.infinispan.transaction.xa.recovery |
---|
Subclasses of GlobalTransaction in org.infinispan.transaction.xa.recovery | |
---|---|
class |
RecoveryAwareDldGlobalTransaction
DldGlobalTransaction that also holds xid information, required for recovery. |
class |
RecoveryAwareGlobalTransaction
GlobalTransaction that also holds xid information, required for recovery. |
Methods in org.infinispan.transaction.xa.recovery with parameters of type GlobalTransaction | |
---|---|
RemoteTransaction |
RecoveryAwareTransactionTable.getRemoteTransaction(GlobalTransaction txId)
|
boolean |
RecoveryManagerImpl.isTransactionPrepared(GlobalTransaction globalTx)
|
boolean |
RecoveryManager.isTransactionPrepared(GlobalTransaction globalTx)
Checks both internal state and transaction table's state for the given tx. |
void |
RecoveryAwareTransactionTable.remoteTransactionCompleted(GlobalTransaction gtx,
boolean committed)
|
void |
RecoveryAwareTransactionTable.remoteTransactionPrepared(GlobalTransaction gtx)
|
Constructors in org.infinispan.transaction.xa.recovery with parameters of type GlobalTransaction | |
---|---|
RecoveryAwareLocalTransaction(Transaction transaction,
GlobalTransaction tx)
|
|
RecoveryAwareRemoteTransaction(GlobalTransaction tx)
|
|
RecoveryAwareRemoteTransaction(WriteCommand[] modifications,
GlobalTransaction tx)
|
Uses of GlobalTransaction in org.infinispan.util.logging |
---|
Methods in org.infinispan.util.logging with parameters of type GlobalTransaction | |
---|---|
void |
Log.unableToRollbackGlobalTx(GlobalTransaction gtx,
Throwable e)
|
void |
Log.unableToUnlockRebalancedKeys(GlobalTransaction gtx,
List<Object> keys,
Address self,
Throwable t)
|
Method parameters in org.infinispan.util.logging with type arguments of type GlobalTransaction | |
---|---|
void |
Log.unfinishedTransactionsRemain(ConcurrentMap<Transaction,LocalTransaction> localTransactions,
ConcurrentMap<GlobalTransaction,RemoteTransaction> remoteTransactions)
|
|
--> |