|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use GlobalTransaction | |
---|---|
org.jboss.cache | |
org.jboss.cache.interceptors | |
org.jboss.cache.lock | |
org.jboss.cache.transaction |
Uses of GlobalTransaction in org.jboss.cache |
---|
Methods in org.jboss.cache that return GlobalTransaction | |
---|---|
GlobalTransaction |
CacheImpl.getCurrentTransaction()
Returns the transaction associated with the current thread. |
GlobalTransaction |
CacheImpl.getCurrentTransaction(boolean createIfNotExists)
Returns the transaction associated with the thread; optionally creating it if is does not exist. |
GlobalTransaction |
CacheImpl.getCurrentTransaction(javax.transaction.Transaction tx)
Returns the global transaction for this local transaction. |
GlobalTransaction |
CacheImpl.getCurrentTransaction(javax.transaction.Transaction tx,
boolean createIfNotExists)
Returns the global transaction for this local transaction. |
GlobalTransaction |
CacheSPI.getCurrentTransaction(javax.transaction.Transaction tx,
boolean createIfNotExists)
Returns the global transaction for this local transaction. |
GlobalTransaction |
InvocationContext.getGlobalTransaction()
Retrieves the global transaction associated with this invocation |
Methods in org.jboss.cache with parameters of type GlobalTransaction | |
---|---|
void |
CacheImpl._addChild(GlobalTransaction gtx,
Fqn parent_fqn,
java.lang.Object child_name,
Node cn,
boolean undoOps)
Compensating method to CacheImpl._remove(GlobalTransaction,Fqn,boolean) . |
void |
CacheImpl._dataGravitationCleanup(GlobalTransaction gtx,
Fqn primary,
Fqn backup)
|
java.lang.Object |
CacheImpl._put(GlobalTransaction tx,
Fqn fqn,
K key,
V value,
boolean create_undo_ops)
Internal put method. |
java.lang.Object |
CacheImpl._put(GlobalTransaction tx,
Fqn fqn,
K key,
V value,
boolean create_undo_ops,
DataVersion dv)
|
void |
CacheImpl._put(GlobalTransaction tx,
Fqn fqn,
java.util.Map<K,V> data,
boolean create_undo_ops)
Internal put method. |
void |
CacheImpl._put(GlobalTransaction tx,
Fqn fqn,
java.util.Map<K,V> data,
boolean create_undo_ops,
boolean erase_contents)
Internal put method. |
void |
CacheImpl._put(GlobalTransaction tx,
Fqn fqn,
java.util.Map<K,V> data,
boolean create_undo_ops,
boolean erase_contents,
DataVersion dv)
|
void |
CacheImpl._put(GlobalTransaction tx,
Fqn fqn,
java.util.Map<K,V> data,
boolean create_undo_ops,
DataVersion dv)
|
java.lang.Object |
CacheImpl._put(GlobalTransaction tx,
java.lang.String fqn,
K key,
V value,
boolean create_undo_ops)
Internal put method. |
void |
CacheImpl._put(GlobalTransaction tx,
java.lang.String fqn,
java.util.Map<K,V> data,
boolean create_undo_ops)
Internal put method. |
void |
CacheImpl._putForExternalRead(GlobalTransaction gtx,
Fqn fqn,
K key,
V value)
|
void |
CacheImpl._putForExternalRead(GlobalTransaction gtx,
Fqn fqn,
K key,
V value,
DataVersion dv)
|
boolean |
CacheImpl._remove(GlobalTransaction tx,
Fqn fqn,
boolean create_undo_ops)
Internal remove method. |
boolean |
CacheImpl._remove(GlobalTransaction tx,
Fqn fqn,
boolean create_undo_ops,
boolean sendNodeEvent)
|
boolean |
CacheImpl._remove(GlobalTransaction tx,
Fqn fqn,
boolean create_undo_ops,
boolean sendNodeEvent,
boolean eviction)
Internal method to remove a node. |
boolean |
CacheImpl._remove(GlobalTransaction tx,
Fqn fqn,
boolean create_undo_ops,
boolean sendNodeEvent,
boolean eviction,
DataVersion version)
Internal method to remove a node. |
boolean |
CacheImpl._remove(GlobalTransaction tx,
Fqn fqn,
boolean create_undo_ops,
DataVersion dv)
|
V |
CacheImpl._remove(GlobalTransaction tx,
Fqn fqn,
K key,
boolean create_undo_ops)
Internal method to remove a key. |
java.lang.Object |
CacheImpl._remove(GlobalTransaction tx,
Fqn fqn,
K key,
boolean create_undo_ops,
DataVersion dv)
|
void |
CacheImpl._remove(GlobalTransaction tx,
java.lang.String fqn,
boolean create_undo_ops)
Internal remove method. |
V |
CacheImpl._remove(GlobalTransaction tx,
java.lang.String fqn,
K key,
boolean create_undo_ops)
Internal method to remove a key. |
void |
CacheImpl._removeData(GlobalTransaction tx,
Fqn fqn,
boolean create_undo_ops)
Internal method to remove data from a node. |
void |
CacheImpl._removeData(GlobalTransaction tx,
Fqn fqn,
boolean create_undo_ops,
boolean sendNodeEvent)
Internal method to remove data from a node. |
void |
CacheImpl._removeData(GlobalTransaction tx,
Fqn fqn,
boolean create_undo_ops,
boolean sendNodeEvent,
boolean eviction)
Internal method to remove data from a node. |
void |
CacheImpl._removeData(GlobalTransaction tx,
Fqn fqn,
boolean create_undo_ops,
boolean sendNodeEvent,
boolean eviction,
DataVersion version)
Internal method to remove data from a node. |
void |
CacheImpl._removeData(GlobalTransaction tx,
Fqn fqn,
boolean create_undo_ops,
DataVersion dv)
|
void |
CacheImpl._removeData(GlobalTransaction tx,
java.lang.String fqn,
boolean create_undo_ops)
Internal method to remove data from a node. |
void |
CacheImpl.addUndoOperation(GlobalTransaction gtx,
MethodCall undo_op)
Adds an undo operatoin to the transaction table. |
void |
CacheImpl.commit(GlobalTransaction tx)
Throws UnsupportedOperationException. |
NodeSPI<K,V> |
NodeSPI.getOrCreateChild(java.lang.Object name,
GlobalTransaction tx)
Returns an existing child or creates a new one using a global transaction. |
NodeSPI |
UnversionedNode.getOrCreateChild(java.lang.Object child_name,
GlobalTransaction gtx)
|
void |
CacheImpl.optimisticPrepare(GlobalTransaction gtx,
java.util.List modifications,
java.util.Map data,
org.jgroups.Address address,
boolean onePhaseCommit)
Throws UnsupportedOperationException. |
void |
CacheImpl.prepare(GlobalTransaction global_tx,
java.util.List modifications,
org.jgroups.Address coord,
boolean onePhaseCommit)
Throws UnsupportedOperationException. |
void |
CacheImpl.rollback(GlobalTransaction tx)
Throws UnsupportedOperationException. |
void |
InvocationContext.setGlobalTransaction(GlobalTransaction globalTransaction)
Sets the global transaction associated with this invocation |
Uses of GlobalTransaction in org.jboss.cache.interceptors |
---|
Methods in org.jboss.cache.interceptors that return GlobalTransaction | |
---|---|
protected GlobalTransaction |
InvocationContextInterceptor.findGlobalTransaction(java.lang.Object[] params)
|
protected GlobalTransaction |
OptimisticInterceptor.getGlobalTransaction(InvocationContext ctx)
|
Methods in org.jboss.cache.interceptors with parameters of type GlobalTransaction | |
---|---|
protected void |
OptimisticReplicationInterceptor.broadcastCommit(GlobalTransaction gtx)
|
protected void |
OptimisticReplicationInterceptor.broadcastPrepare(MethodCall methodCall,
GlobalTransaction gtx)
|
protected void |
OptimisticReplicationInterceptor.broadcastRollback(GlobalTransaction gtx)
|
protected TransactionWorkspace |
OptimisticInterceptor.getTransactionWorkspace(GlobalTransaction gtx)
|
protected TransactionWorkspace |
OptimisticReplicationInterceptor.getTransactionWorkspace(GlobalTransaction gtx)
|
protected TransactionWorkspace |
InvalidationInterceptor.getWorkspace(GlobalTransaction gtx)
|
protected void |
TxInterceptor.runCommitPhase(InvocationContext ctx,
GlobalTransaction gtx,
javax.transaction.Transaction tx,
java.util.List modifications,
boolean onePhaseCommit)
creates a commit() MethodCall and feeds it to handleCommitRollback(); |
protected java.lang.Object |
TxInterceptor.runPreparePhase(InvocationContext ctx,
GlobalTransaction gtx,
java.util.List modifications)
Handles a local prepare - invoked by the sync handler. |
protected void |
ReplicationInterceptor.runPreparePhase(MethodCall prepareMethod,
GlobalTransaction gtx)
Calls prepare(GlobalTransaction,List,org.jgroups.Address,boolean)) in all members except self. |
protected void |
TxInterceptor.runRollbackPhase(InvocationContext ctx,
GlobalTransaction gtx,
javax.transaction.Transaction tx,
java.util.List modifications)
creates a rollback() MethodCall and feeds it to handleCommitRollback(); |
protected void |
BaseTransactionalContextInterceptor.setTransactionalContext(javax.transaction.Transaction tx,
GlobalTransaction gtx,
InvocationContext ctx)
|
Uses of GlobalTransaction in org.jboss.cache.lock |
---|
Methods in org.jboss.cache.lock with parameters of type GlobalTransaction | |
---|---|
static boolean |
LockUtil.breakTransactionLock(NodeLock lock,
GlobalTransaction gtx,
boolean localTx,
CacheImpl cache)
|
Uses of GlobalTransaction in org.jboss.cache.transaction |
---|
Fields in org.jboss.cache.transaction with type parameters of type GlobalTransaction | |
---|---|
protected java.util.Map<javax.transaction.Transaction,GlobalTransaction> |
TransactionTable.tx_map
Mapping between local (javax.transaction.Transaction) and GlobalTransactions. |
protected java.util.Map<GlobalTransaction,TransactionEntry> |
TransactionTable.txs
Mappings between GlobalTransactions and modifications. |
Methods in org.jboss.cache.transaction that return GlobalTransaction | |
---|---|
static GlobalTransaction |
GlobalTransaction.create(org.jgroups.Address addr)
|
GlobalTransaction |
TransactionTable.get(javax.transaction.Transaction tx)
Returns the global transaction associated with the local transaction. |
GlobalTransaction |
TransactionTable.remove(javax.transaction.Transaction tx)
Removes a local transation, returns the global transaction entry. |
Methods in org.jboss.cache.transaction with parameters of type GlobalTransaction | |
---|---|
void |
TransactionTable.addCacheLoaderModification(GlobalTransaction gtx,
MethodCall m)
|
void |
TransactionTable.addLock(GlobalTransaction gtx,
NodeLock l)
Adds a lock to the global transaction. |
void |
TransactionTable.addLocks(GlobalTransaction gtx,
java.util.Collection locks)
Adds a collection of locks to the global transaction. |
void |
TransactionTable.addModification(GlobalTransaction gtx,
MethodCall m)
Adds a motification to the global transaction. |
void |
TransactionTable.addUndoOperation(GlobalTransaction gtx,
MethodCall m)
Adds an undo operation to the global transaction. |
TransactionEntry |
TransactionTable.get(GlobalTransaction gtx)
Returns the local transaction entry for the global transaction. |
javax.transaction.Transaction |
TransactionTable.getLocalTransaction(GlobalTransaction gtx)
Returns the local transaction associated with a GlobalTransaction. |
void |
TransactionTable.put(GlobalTransaction tx,
TransactionEntry entry)
Associates the global transaction with a transaction entry. |
void |
TransactionTable.put(javax.transaction.Transaction tx,
GlobalTransaction gtx)
Associates the global transaction with the local transaction. |
TransactionEntry |
TransactionTable.remove(GlobalTransaction tx)
Removes a global transation, returns the old transaction entry. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |