Package | Description |
---|---|
org.infinispan.commands |
Commands that operate on the cache, either locally or remotely.
|
org.infinispan.commands.control | |
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.commands.tx.totalorder | |
org.infinispan.context.impl |
This package contains different context implementations, selected dynamically based on the type of invocation.
|
org.infinispan.interceptors.xsite | |
org.infinispan.loaders | |
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.stats |
Cache statistics.
|
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.
|
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) |
Modifier and Type | Method and Description |
---|---|
GlobalTransaction |
ClusteredGetCommand.getGlobalTransaction() |
Constructor and Description |
---|
ClusteredGetCommand(Object key,
String cacheName,
Set<Flag> flags,
boolean acquireRemoteLock,
GlobalTransaction gtx,
Equivalence keyEquivalence) |
Modifier and Type | Method and Description |
---|---|
GlobalTransaction |
TxCompletionNotificationCommand.getGlobalTransaction() |
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) |
Constructor and Description |
---|
TotalOrderCommitCommand(String cacheName,
GlobalTransaction gtx) |
TotalOrderNonVersionedPrepareCommand(String cacheName,
GlobalTransaction gtx,
List<WriteCommand> commands) |
TotalOrderNonVersionedPrepareCommand(String cacheName,
GlobalTransaction gtx,
WriteCommand... modifications) |
TotalOrderRollbackCommand(String cacheName,
GlobalTransaction globalTransaction) |
TotalOrderVersionedCommitCommand(String cacheName,
GlobalTransaction gtx) |
TotalOrderVersionedPrepareCommand(String cacheName,
GlobalTransaction gtx,
List<WriteCommand> modifications,
boolean onePhase) |
Modifier and Type | Method and Description |
---|---|
GlobalTransaction |
RemoteTxInvocationContext.getGlobalTransaction() |
GlobalTransaction |
LocalTxInvocationContext.getGlobalTransaction() |
GlobalTransaction |
TxInvocationContext.getGlobalTransaction()
Returns the id of the transaction associated with the current call.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
BaseBackupInterceptor.isTxFromRemoteSite(GlobalTransaction gtx) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractCacheStore.commit(GlobalTransaction tx) |
void |
CacheStore.commit(GlobalTransaction tx)
Commits a transaction that has been previously prepared.
|
void |
AbstractCacheStore.prepare(List<? extends Modification> mods,
GlobalTransaction tx,
boolean isOnePhase) |
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.rollback(GlobalTransaction tx) |
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) . |
Modifier and Type | Method and Description |
---|---|
void |
ReadOnlyStore.commit(GlobalTransaction tx) |
void |
AbstractDelegatingStore.commit(GlobalTransaction tx) |
void |
ChainingCacheStore.commit(GlobalTransaction tx) |
void |
SingletonStore.commit(GlobalTransaction tx) |
void |
AsyncStore.commit(GlobalTransaction tx) |
void |
ReadOnlyStore.prepare(List<? extends Modification> list,
GlobalTransaction tx,
boolean isOnePhase) |
void |
AbstractDelegatingStore.prepare(List<? extends Modification> list,
GlobalTransaction tx,
boolean isOnePhase) |
void |
ChainingCacheStore.prepare(List<? extends Modification> list,
GlobalTransaction tx,
boolean isOnePhase) |
void |
SingletonStore.prepare(List<? extends Modification> list,
GlobalTransaction tx,
boolean isOnePhase) |
void |
AsyncStore.prepare(List<? extends Modification> mods,
GlobalTransaction tx,
boolean isOnePhase) |
void |
ReadOnlyStore.rollback(GlobalTransaction tx) |
void |
AbstractDelegatingStore.rollback(GlobalTransaction tx) |
void |
ChainingCacheStore.rollback(GlobalTransaction tx) |
void |
SingletonStore.rollback(GlobalTransaction tx) |
void |
AsyncStore.rollback(GlobalTransaction tx) |
Modifier and Type | Method and Description |
---|---|
void |
CacheNotifier.notifyTransactionCompleted(GlobalTransaction transaction,
boolean successful,
InvocationContext ctx)
Notifies all registered listeners of a transaction completion event.
|
void |
CacheNotifierImpl.notifyTransactionCompleted(GlobalTransaction transaction,
boolean successful,
InvocationContext ctx) |
void |
CacheNotifier.notifyTransactionRegistered(GlobalTransaction globalTransaction,
InvocationContext ctx)
Notifies all registered listeners of a transaction registration event.
|
void |
CacheNotifierImpl.notifyTransactionRegistered(GlobalTransaction globalTransaction,
InvocationContext ctx) |
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 |
TransactionInfo.getGlobalTransaction() |
Constructor and Description |
---|
TransactionInfo(GlobalTransaction globalTransaction,
int topologyId,
WriteCommand[] modifications,
Set<Object> lockedKeys) |
Modifier and Type | Method and Description |
---|---|
void |
CacheStatisticManager.add(ExtendedStatistic stat,
double value,
GlobalTransaction globalTransaction,
boolean local)
Adds a value to a statistic.
|
void |
CacheStatisticManager.beginTransaction(GlobalTransaction globalTransaction,
boolean local)
Signals the start of a transaction.
|
void |
CacheStatisticManager.increment(ExtendedStatistic stat,
GlobalTransaction globalTransaction,
boolean local)
Increments the statistic value.
|
void |
CacheStatisticManager.markAsWriteTransaction(GlobalTransaction globalTransaction,
boolean local)
Marks the transaction as a write transaction (instead of a read only transaction)
|
void |
CacheStatisticManager.onPrepareCommand(GlobalTransaction globalTransaction,
boolean local)
Invoked when a
PrepareCommand is received for a transaction. |
void |
CacheStatisticManager.setTransactionOutcome(boolean commit,
GlobalTransaction globalTransaction,
boolean local)
Sets the transaction outcome to commit or rollback, depending if the transaction has commit successfully or not
respectively.
|
void |
CacheStatisticManager.terminateTransaction(GlobalTransaction globalTransaction,
boolean local,
boolean remote)
Signals the ending of a transaction.
|
Modifier and Type | Field and Description |
---|---|
protected GlobalTransaction |
AbstractCacheTransaction.tx |
Modifier and Type | Method and Description |
---|---|
GlobalTransaction |
TotalOrderRemoteTransactionState.getGlobalTransaction() |
GlobalTransaction |
AbstractCacheTransaction.getGlobalTransaction() |
Modifier and Type | Method and Description |
---|---|
boolean |
TransactionTable.containRemoteTx(GlobalTransaction globalTransaction) |
boolean |
TransactionTable.containsLocalTx(GlobalTransaction globalTransaction) |
LocalTransaction |
TransactionTable.getLocalTransaction(GlobalTransaction txId)
Looks up a LocalTransaction given a GlobalTransaction.
|
Set<Object> |
TransactionTable.getLockedKeysForRemoteTransaction(GlobalTransaction gtx) |
RemoteTransaction |
TransactionTable.getOrCreateRemoteTransaction(GlobalTransaction globalTx,
WriteCommand[] modifications)
Returns an existing remote transaction or creates one if none exists.
|
RemoteTransaction |
TransactionTable.getRemoteTransaction(GlobalTransaction txId)
Returns the
RemoteTransaction associated with the supplied transaction id. |
boolean |
TransactionTable.isTransactionCompleted(GlobalTransaction gtx) |
void |
TransactionTable.markTransactionCompleted(GlobalTransaction globalTx)
With the current state transfer implementation it is possible for a transaction to be prepared several times
on a remote node.
|
void |
TransactionTable.remoteTransactionCommitted(GlobalTransaction gtx,
boolean onePc)
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 topologyId,
Equivalence<Object> keyEquivalence) |
LocalTransaction(Transaction transaction,
GlobalTransaction tx,
boolean implicitTransaction,
int topologyId,
Equivalence<Object> keyEquivalence) |
RemoteTransaction(GlobalTransaction tx,
int topologyId,
Equivalence<Object> keyEquivalence) |
RemoteTransaction(WriteCommand[] modifications,
GlobalTransaction tx,
int topologyId,
Equivalence<Object> keyEquivalence) |
TotalOrderRemoteTransactionState(GlobalTransaction globalTransaction) |
Constructor and Description |
---|
SyncLocalTransaction(Transaction transaction,
GlobalTransaction tx,
boolean implicitTransaction,
int topologyId,
Equivalence<Object> keyEquivalence) |
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,
VersionGenerator 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 topologyId) |
abstract LocalTransaction |
TransactionFactory.TxFactoryEnum.newLocalTransaction(Transaction tx,
GlobalTransaction gtx,
boolean implicitTransaction,
int topologyId,
Equivalence<Object> keyEquivalence) |
RemoteTransaction |
TransactionFactory.newRemoteTransaction(GlobalTransaction tx,
int topologyId) |
abstract RemoteTransaction |
TransactionFactory.TxFactoryEnum.newRemoteTransaction(GlobalTransaction tx,
int topologyId,
Equivalence<Object> keyEquivalence) |
RemoteTransaction |
TransactionFactory.newRemoteTransaction(WriteCommand[] modifications,
GlobalTransaction tx,
int topologyId) |
abstract RemoteTransaction |
TransactionFactory.TxFactoryEnum.newRemoteTransaction(WriteCommand[] modifications,
GlobalTransaction tx,
int topologyId,
Equivalence<Object> keyEquivalence) |
Constructor and Description |
---|
LocalXaTransaction(Transaction transaction,
GlobalTransaction tx,
boolean implicitTransaction,
int topologyId,
Equivalence<Object> keyEquivalence) |
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 |
RecoveryManager.isTransactionPrepared(GlobalTransaction globalTx)
Checks both internal state and transaction table's state for the given tx.
|
boolean |
RecoveryManagerImpl.isTransactionPrepared(GlobalTransaction globalTx) |
void |
RecoveryAwareTransactionTable.remoteTransactionCommitted(GlobalTransaction gtx,
boolean onePc) |
void |
RecoveryAwareTransactionTable.remoteTransactionPrepared(GlobalTransaction gtx)
Marks the transaction as prepared.
|
void |
RecoveryAwareTransactionTable.remoteTransactionRollback(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.
|
void |
RecoveryManagerImpl.removeRecoveryInformationFromCluster(Collection<Address> lockOwners,
Xid xid,
boolean sync,
GlobalTransaction gtx) |
Constructor and Description |
---|
RecoveryAwareLocalTransaction(Transaction transaction,
GlobalTransaction tx,
boolean implicitTransaction,
int topologyId,
Equivalence<Object> keyEquivalence) |
RecoveryAwareRemoteTransaction(GlobalTransaction tx,
int topologyId,
Equivalence<Object> keyEquivalence) |
RecoveryAwareRemoteTransaction(WriteCommand[] modifications,
GlobalTransaction tx,
int topologyId,
Equivalence<Object> keyEquivalence) |
Modifier and Type | Method and Description |
---|---|
void |
Log.cannotRespondToCommit(GlobalTransaction globalTransaction,
String cacheName) |
void |
Log.cannotRespondToRollback(GlobalTransaction globalTransaction,
String cacheName) |
void |
Log.unableToRollbackGlobalTx(GlobalTransaction gtx,
Throwable e) |
void |
Log.unableToUnlockRebalancedKeys(GlobalTransaction gtx,
List<Object> keys,
Address self,
Throwable t) |
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.