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 |
Log_$logger.cannotRespondToCommit(GlobalTransaction arg0,
String arg1) |
void |
Log_$logger.cannotRespondToRollback(GlobalTransaction arg0,
String arg1) |
void |
Log_$logger.unableToRollbackGlobalTx(GlobalTransaction arg0,
Throwable arg1) |
void |
Log_$logger.unableToUnlockRebalancedKeys(GlobalTransaction arg0,
List arg1,
Address arg2,
Throwable arg3) |
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 |
---|---|
void |
Log_$logger.cannotRespondToCommit(GlobalTransaction arg0,
String arg1) |
void |
Log_$logger.cannotRespondToRollback(GlobalTransaction arg0,
String arg1) |
void |
Log_$logger.unableToRollbackGlobalTx(GlobalTransaction arg0,
Throwable arg1) |
void |
Log_$logger.unableToUnlockRebalancedKeys(GlobalTransaction arg0,
List arg1,
Address arg2,
Throwable arg3) |
Modifier and Type | Method and Description |
---|---|
void |
Log_$logger.cannotRespondToCommit(GlobalTransaction arg0,
String arg1) |
void |
Log_$logger.cannotRespondToRollback(GlobalTransaction arg0,
String arg1) |
void |
Log_$logger.unableToRollbackGlobalTx(GlobalTransaction arg0,
Throwable arg1) |
void |
Log_$logger.unableToUnlockRebalancedKeys(GlobalTransaction arg0,
List arg1,
Address arg2,
Throwable arg3) |
Modifier and Type | Method and Description |
---|---|
void |
Log_$logger.cannotRespondToCommit(GlobalTransaction arg0,
String arg1) |
void |
Log_$logger.cannotRespondToRollback(GlobalTransaction arg0,
String arg1) |
void |
Log_$logger.unableToRollbackGlobalTx(GlobalTransaction arg0,
Throwable arg1) |
void |
Log_$logger.unableToUnlockRebalancedKeys(GlobalTransaction arg0,
List arg1,
Address arg2,
Throwable arg3) |
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 | 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 |
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,
boolean onePc) |
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 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_$logger.cannotRespondToCommit(GlobalTransaction globalTransaction,
String cacheName) |
void |
Log.cannotRespondToCommit(GlobalTransaction globalTransaction,
String cacheName) |
void |
Log_$logger.cannotRespondToRollback(GlobalTransaction globalTransaction,
String cacheName) |
void |
Log.cannotRespondToRollback(GlobalTransaction globalTransaction,
String cacheName) |
void |
Log_$logger.unableToRollbackGlobalTx(GlobalTransaction gtx,
Throwable e) |
void |
Log.unableToRollbackGlobalTx(GlobalTransaction gtx,
Throwable e) |
void |
Log.unableToUnlockRebalancedKeys(GlobalTransaction gtx,
List<Object> keys,
Address self,
Throwable t) |
void |
Log_$logger.unableToUnlockRebalancedKeys(GlobalTransaction gtx,
List keys,
Address self,
Throwable t) |
Copyright © 2016 JBoss, a division of Red Hat. All rights reserved.