Package | Description |
---|---|
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.remote |
Meta-commands that wrap other commands for remote execution.
|
org.infinispan.commands.remote.recovery | |
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.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.statetransfer |
Transfer of state to new caches in a cluster.
|
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.concurrent.locks |
Lock and synchronization related classes, tools and utilities.
|
org.infinispan.util.logging |
Infinispan's logging abstractions that delegate to either JDK or Log4J logging engines.
|
Modifier and Type | Method and Description |
---|---|
void |
LockControlCommand.setGlobalTransaction(GlobalTransaction gtx) |
Constructor and Description |
---|
LockControlCommand(Collection<Object> keys,
String cacheName,
Set<Flag> flags,
GlobalTransaction gtx) |
LockControlCommand(Object key,
String cacheName,
Set<Flag> flags,
GlobalTransaction gtx) |
Constructor and Description |
---|
ClusteredGetCommand(Object key,
String cacheName,
Set<Flag> flags,
boolean acquireRemoteLock,
GlobalTransaction gtx) |
Constructor and Description |
---|
TxCompletionNotificationCommand(Xid xid,
GlobalTransaction gtx,
String cacheName) |
Modifier and Type | Field and Description |
---|---|
protected GlobalTransaction |
AbstractTransactionBoundaryCommand.globalTx |
Modifier and Type | Method and Description |
---|---|
GlobalTransaction |
TransactionBoundaryCommand.getGlobalTransaction() |
GlobalTransaction |
AbstractTransactionBoundaryCommand.getGlobalTransaction() |
Constructor and Description |
---|
CommitCommand(String cacheName,
GlobalTransaction gtx) |
PrepareCommand(String cacheName,
GlobalTransaction gtx,
boolean onePhaseCommit,
WriteCommand... modifications) |
PrepareCommand(String cacheName,
GlobalTransaction gtx,
List<WriteCommand> commands,
boolean onePhaseCommit) |
RollbackCommand(String cacheName,
GlobalTransaction globalTransaction) |
VersionedCommitCommand(String cacheName,
GlobalTransaction gtx) |
VersionedPrepareCommand(String cacheName,
GlobalTransaction gtx,
List<WriteCommand> modifications,
boolean onePhase) |
Modifier and Type | Method and Description |
---|---|
GlobalTransaction |
TransactionalInvocationContextFlagsOverride.getGlobalTransaction() |
Modifier and Type | Method and Description |
---|---|
GlobalTransaction |
TxInvocationContext.getGlobalTransaction()
Returns the id of the transaction associated with the current call.
|
GlobalTransaction |
RemoteTxInvocationContext.getGlobalTransaction() |
GlobalTransaction |
LocalTxInvocationContext.getGlobalTransaction() |
Modifier and Type | Field and Description |
---|---|
protected Map<GlobalTransaction,List<VisitableCommand>> |
InvalidationInterceptor.txMods |
Modifier and Type | Method and Description |
---|---|
protected void |
CacheStoreInterceptor.prepareCacheLoader(TxInvocationContext ctx,
GlobalTransaction gtx,
TxInvocationContext transactionContext,
boolean onePhase) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
GlobalTransaction |
TransactionalEvent.getGlobalTransaction() |
GlobalTransaction |
EventImpl.getGlobalTransaction() |
Modifier and Type | Method and Description |
---|---|
void |
EventImpl.setTransactionId(GlobalTransaction transaction) |
Modifier and Type | Method and Description |
---|---|
GlobalTransaction |
LockInfo.getGlobalTransaction() |
Constructor and Description |
---|
LockInfo(GlobalTransaction globalTransaction,
Object key) |
Modifier and Type | Field and Description |
---|---|
protected GlobalTransaction |
AbstractCacheTransaction.tx |
Modifier and Type | Method and Description |
---|---|
GlobalTransaction |
AbstractCacheTransaction.getGlobalTransaction() |
Modifier and Type | Method and Description |
---|---|
boolean |
TransactionTable.containRemoteTx(GlobalTransaction globalTransaction) |
RemoteTransaction |
TransactionTable.createRemoteTransaction(GlobalTransaction globalTx,
WriteCommand[] modifications)
Creates and register a
RemoteTransaction with no modifications. |
Set<Object> |
TransactionTable.getLockedKeysForRemoteTransaction(GlobalTransaction gtx) |
RemoteTransaction |
TransactionTable.getRemoteTransaction(GlobalTransaction txId)
Returns the
RemoteTransaction associated with the supplied transaction id. |
void |
TransactionTable.remoteTransactionCommitted(GlobalTransaction gtx)
Removes the
RemoteTransaction corresponding to the given tx. |
void |
TransactionTable.remoteTransactionPrepared(GlobalTransaction gtx) |
void |
TransactionTable.remoteTransactionRollback(GlobalTransaction gtx) |
RemoteTransaction |
TransactionTable.removeRemoteTransaction(GlobalTransaction txId) |
Constructor and Description |
---|
AbstractCacheTransaction(GlobalTransaction tx,
int viewId) |
LocalTransaction(Transaction transaction,
GlobalTransaction tx,
boolean implicitTransaction,
int viewId) |
RemoteTransaction(GlobalTransaction tx,
int viewId) |
RemoteTransaction(WriteCommand[] modifications,
GlobalTransaction tx,
int viewId) |
Constructor and Description |
---|
SyncLocalTransaction(Transaction transaction,
GlobalTransaction tx,
boolean implicitTransaction,
int viewId) |
Modifier and Type | Class and Description |
---|---|
protected static class |
GlobalTransaction.AbstractGlobalTxExternalizer<T extends GlobalTransaction> |
Modifier and Type | Class and Description |
---|---|
class |
DldGlobalTransaction
This class is used when deadlock detection is enabled.
|
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
Set<Class<? extends GlobalTransaction>> |
GlobalTransaction.Externalizer.getTypeClasses() |
Modifier and Type | Method and Description |
---|---|
LocalTransaction |
TransactionFactory.newLocalTransaction(Transaction tx,
GlobalTransaction gtx,
boolean implicitTransaction,
int viewId) |
abstract LocalTransaction |
TransactionFactory.TxFactoryEnum.newLocalTransaction(Transaction tx,
GlobalTransaction gtx,
boolean implicitTransaction,
int viewId) |
RemoteTransaction |
TransactionFactory.newRemoteTransaction(GlobalTransaction tx,
int viewId) |
abstract RemoteTransaction |
TransactionFactory.TxFactoryEnum.newRemoteTransaction(GlobalTransaction tx,
int viewId) |
RemoteTransaction |
TransactionFactory.newRemoteTransaction(WriteCommand[] modifications,
GlobalTransaction tx,
int viewId) |
abstract RemoteTransaction |
TransactionFactory.TxFactoryEnum.newRemoteTransaction(WriteCommand[] modifications,
GlobalTransaction tx,
int viewId) |
Constructor and Description |
---|
LocalXaTransaction(Transaction transaction,
GlobalTransaction tx,
boolean implicitTransaction,
int viewId) |
Modifier and Type | Class and Description |
---|---|
class |
RecoveryAwareDldGlobalTransaction
DldGlobalTransaction that also holds xid information, required for recovery.
|
class |
RecoveryAwareGlobalTransaction
GlobalTransaction that also holds xid information, required for recovery.
|
Modifier and Type | Method and Description |
---|---|
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.remoteTransactionCommitted(GlobalTransaction gtx) |
void |
RecoveryAwareTransactionTable.remoteTransactionPrepared(GlobalTransaction gtx)
Marks the transaction as prepared.
|
void |
RecoveryAwareTransactionTable.remoteTransactionRollback(GlobalTransaction gtx) |
void |
RecoveryManagerImpl.removeRecoveryInformationFromCluster(Collection<Address> lockOwners,
Xid xid,
boolean sync,
GlobalTransaction gtx) |
void |
RecoveryManager.removeRecoveryInformationFromCluster(Collection<Address> where,
Xid xid,
boolean sync,
GlobalTransaction gtx)
Removes from the specified nodes (or all nodes if the value of 'where' is null) the recovery information associated with
these Xids.
|
Constructor and Description |
---|
RecoveryAwareLocalTransaction(Transaction transaction,
GlobalTransaction tx,
boolean implicitTransaction,
int viewId) |
RecoveryAwareRemoteTransaction(GlobalTransaction tx,
int viewId) |
RecoveryAwareRemoteTransaction(WriteCommand[] modifications,
GlobalTransaction tx,
int viewId) |
Modifier and Type | Method and Description |
---|---|
void |
OwnableReentrantLock.lock(GlobalTransaction requestor) |
Modifier and Type | Method and Description |
---|---|
void |
Log.unableToRollbackGlobalTx(GlobalTransaction gtx,
Throwable e) |
void |
Log.unableToUnlockRebalancedKeys(GlobalTransaction gtx,
List<Object> keys,
Address self,
Throwable t) |
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.