Modifier and Type | Method and Description |
---|---|
GlobalTransaction |
CacheSPI.getCurrentTransaction()
Returns the transaction associated with the current thread.
|
GlobalTransaction |
CacheSPI.getCurrentTransaction(Transaction tx,
boolean createIfNotExists)
Returns the global transaction for this local transaction.
|
GlobalTransaction |
InvocationContext.getGlobalTransaction()
Retrieves the global transaction associated with this invocation
|
Modifier and Type | Method and Description |
---|---|
NodeSPI<K,V> |
NodeSPI.getOrCreateChild(Object name,
GlobalTransaction tx)
Deprecated.
should use the
NodeFactory instead. |
NodeSPI<K,V> |
AbstractNode.getOrCreateChild(Object childName,
GlobalTransaction gtx) |
NodeSPI<K,V> |
InternalNode.getOrCreateChild(Object childName,
GlobalTransaction gtx)
Deprecated.
should use the
NodeFactory instead. |
NodeSPI<K,V> |
PessimisticUnversionedNode.getOrCreateChild(Object childName,
GlobalTransaction gtx)
Deprecated.
|
void |
InvocationContext.setGlobalTransaction(GlobalTransaction globalTransaction)
Sets the global transaction associated with this invocation
|
Modifier and Type | Method and Description |
---|---|
GlobalTransaction |
WriteCommand.getGlobalTransaction() |
Modifier and Type | Field and Description |
---|---|
protected GlobalTransaction |
VersionedInvalidateCommand.globalTransaction
Deprecated.
Params.
|
Modifier and Type | Method and Description |
---|---|
GlobalTransaction |
CreateNodeCommand.getGlobalTransaction()
Deprecated.
|
GlobalTransaction |
VersionedInvalidateCommand.getGlobalTransaction()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
CreateNodeCommand.setGlobalTransaction(GlobalTransaction gtx)
Deprecated.
|
void |
VersionedInvalidateCommand.setGlobalTransaction(GlobalTransaction gtx)
Deprecated.
|
Constructor and Description |
---|
PessClearDataCommand(GlobalTransaction gtx,
Fqn fqn)
Deprecated.
|
PessPutDataMapCommand(GlobalTransaction globalTransaction,
Fqn fqn,
Map data)
Deprecated.
|
PessPutForExternalReadCommand(GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value)
Deprecated.
|
PessPutKeyValueCommand(GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value)
Deprecated.
|
PessRemoveKeyCommand(GlobalTransaction gtx,
Fqn fqn,
Object key)
Deprecated.
|
PessRemoveNodeCommand(GlobalTransaction globalTransaction,
Fqn fqn)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
GlobalTransaction |
DataGravitationCleanupCommand.getGlobalTransaction() |
Modifier and Type | Method and Description |
---|---|
void |
DataGravitationCleanupCommand.setGlobalTransaction(GlobalTransaction gtx) |
Modifier and Type | Field and Description |
---|---|
protected GlobalTransaction |
AbstractTransactionCommand.globalTransaction |
Modifier and Type | Method and Description |
---|---|
GlobalTransaction |
AbstractTransactionCommand.getGlobalTransaction() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractTransactionCommand.setGlobalTransaction(GlobalTransaction gtx) |
Constructor and Description |
---|
CommitCommand(GlobalTransaction globalTransaction) |
OptimisticPrepareCommand(GlobalTransaction gtx,
List<WriteCommand> modifications,
org.jgroups.Address address,
boolean onePhaseCommit) |
PrepareCommand(GlobalTransaction gtx,
List<WriteCommand> modifications,
org.jgroups.Address localAddress,
boolean onePhaseCommit) |
RollbackCommand(GlobalTransaction globalTransaction) |
Modifier and Type | Field and Description |
---|---|
protected GlobalTransaction |
MoveCommand.globalTransaction |
protected GlobalTransaction |
AbstractVersionedDataCommand.globalTransaction |
Modifier and Type | Method and Description |
---|---|
GlobalTransaction |
MoveCommand.getGlobalTransaction() |
GlobalTransaction |
AbstractVersionedDataCommand.getGlobalTransaction() |
Modifier and Type | Method and Description |
---|---|
void |
MoveCommand.setGlobalTransaction(GlobalTransaction globalTransaction) |
void |
AbstractVersionedDataCommand.setGlobalTransaction(GlobalTransaction globalTransaction) |
Constructor and Description |
---|
ClearDataCommand(GlobalTransaction gtx,
Fqn fqn) |
PutDataMapCommand(GlobalTransaction globalTransaction,
Fqn fqn,
Map data) |
PutForExternalReadCommand(GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value) |
PutKeyValueCommand(GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value) |
RemoveKeyCommand(GlobalTransaction gtx,
Fqn fqn,
Object key) |
RemoveNodeCommand(GlobalTransaction globalTransaction,
Fqn fqn) |
Modifier and Type | Field and Description |
---|---|
protected Map<GlobalTransaction,List<WriteCommand>> |
InvalidationInterceptor.txMods |
Modifier and Type | Method and Description |
---|---|
protected GlobalTransaction |
OptimisticInterceptor.getGlobalTransaction(InvocationContext ctx)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
OptimisticReplicationInterceptor.broadcastCommit(GlobalTransaction gtx,
InvocationContext ctx)
Deprecated.
|
protected void |
OptimisticReplicationInterceptor.broadcastPrepare(OptimisticPrepareCommand command,
GlobalTransaction gtx,
InvocationContext ctx)
Deprecated.
|
protected void |
OptimisticReplicationInterceptor.broadcastRollback(GlobalTransaction gtx,
InvocationContext ctx)
Deprecated.
|
protected PrepareCommand |
OptimisticTxInterceptor.buildPrepareCommand(GlobalTransaction gtx,
List modifications,
boolean onePhaseCommit)
Deprecated.
|
protected PrepareCommand |
TxInterceptor.buildPrepareCommand(GlobalTransaction gtx,
List modifications,
boolean onePhaseCommit) |
protected WorkspaceNode |
OptimisticInterceptor.lockAndCreateWorkspaceNode(NodeFactory<?,?> nodeFactory,
NodeSPI node,
TransactionWorkspace<?,?> workspace,
GlobalTransaction gtx,
long timeout)
Deprecated.
|
protected CacheStoreInterceptor.StoreModificationsBuilder |
CacheStoreInterceptor.prepareCacheLoader(GlobalTransaction gtx,
TransactionContext transactionContext,
boolean onePhase) |
protected void |
TxInterceptor.runCommitPhase(InvocationContext ctx,
GlobalTransaction gtx,
List 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,org.jgroups.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) |
Modifier and Type | Method and Description |
---|---|
GlobalTransaction |
CacheInvocationDelegate.getCurrentTransaction() |
GlobalTransaction |
CacheInvocationDelegate.getCurrentTransaction(Transaction tx,
boolean createIfNotExists) |
Modifier and Type | Method and Description |
---|---|
NodeSPI<K,V> |
NodeInvocationDelegate.getOrCreateChild(Object name,
GlobalTransaction tx) |
Modifier and Type | Method and Description |
---|---|
static boolean |
LockUtil.breakTransactionLock(Fqn fqn,
LockManager lockManager,
GlobalTransaction gtx,
boolean localTx,
TransactionTable tx_table,
TransactionManager tm) |
Modifier and Type | Method and Description |
---|---|
NodeSPI<K,V> |
NodeReference.getOrCreateChild(Object child_name,
GlobalTransaction gtx) |
Modifier and Type | Field and Description |
---|---|
protected Map<GlobalTransaction,TransactionContext> |
TransactionTable.gtx2ContextMap
Mappings between GlobalTransactions and modifications.
|
protected Map<GlobalTransaction,Transaction> |
TransactionTable.gtx2TxMap |
protected Map<Transaction,GlobalTransaction> |
TransactionTable.tx2gtxMap
Mapping between local (javax.transaction.Transaction)
and GlobalTransactions.
|
Modifier and Type | Method and Description |
---|---|
static GlobalTransaction |
GlobalTransaction.create(org.jgroups.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() |
GlobalTransaction |
TransactionTable.remove(Transaction tx)
Removes a local transation, returns the global transaction entry.
|
Modifier and Type | Method and Description |
---|---|
TransactionContext |
TransactionTable.get(GlobalTransaction gtx)
Returns the local transaction entry for the global transaction.
|
Transaction |
TransactionTable.getLocalTransaction(GlobalTransaction gtx)
Returns the local transaction associated with a GlobalTransaction.
|
Transaction |
TransactionTable.getLocalTransaction(GlobalTransaction gtx,
boolean assertExists)
If assers exists is true and the coresponding local transaction is null an IllegalStateExcetpion is being thrown.
|
void |
TransactionLog.logCommit(GlobalTransaction gtx) |
void |
TransactionLog.logOnePhaseCommit(GlobalTransaction gtx,
List<WriteCommand> modifications) |
void |
TransactionTable.put(GlobalTransaction tx,
TransactionContext transactionContext)
Associates the global transaction with a transaction context.
|
void |
TransactionTable.put(Transaction tx,
GlobalTransaction gtx)
Associates the global transaction with the local transaction.
|
TransactionContext |
TransactionTable.remove(GlobalTransaction tx)
Removes a global transation, returns the old transaction entry.
|
void |
TransactionTable.remove(GlobalTransaction gtx,
Transaction tx) |
void |
TransactionLog.rollback(GlobalTransaction gtx) |
Constructor and Description |
---|
TransactionLog.LogEntry(GlobalTransaction transaction,
List<WriteCommand> modifications) |
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.