|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use GlobalTransaction | |
---|---|
org.jboss.cache | |
org.jboss.cache.interceptors | |
org.jboss.cache.invocation | |
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 |
CacheSPI.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(Transaction tx)
Returns the global transaction for this local transaction. |
GlobalTransaction |
CacheImpl.getCurrentTransaction(Transaction tx,
boolean createIfNotExists)
Returns the global transaction for this local transaction. |
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 |
Methods in org.jboss.cache with parameters of type GlobalTransaction | |
---|---|
void |
CacheImpl._addChild(GlobalTransaction gtx,
Fqn parent_fqn,
Object child_name,
Node cn,
boolean undoOps)
Compensating method to CacheImpl._remove(GlobalTransaction,Fqn,boolean) . |
void |
CacheImpl._put(GlobalTransaction tx,
Fqn fqn,
Map data,
boolean create_undo_ops)
Internal put method. |
void |
CacheImpl._put(GlobalTransaction tx,
Fqn fqn,
Map data,
boolean create_undo_ops,
boolean erase_contents)
Internal put method. |
void |
CacheImpl._put(GlobalTransaction tx,
Fqn fqn,
Map data,
boolean create_undo_ops,
boolean erase_contents,
DataVersion dv)
|
void |
CacheImpl._put(GlobalTransaction tx,
Fqn fqn,
Map data,
boolean create_undo_ops,
DataVersion dv)
|
Object |
CacheImpl._put(GlobalTransaction tx,
Fqn fqn,
Object key,
Object value,
boolean create_undo_ops)
Internal put method. |
Object |
CacheImpl._put(GlobalTransaction tx,
Fqn fqn,
Object key,
Object value,
boolean create_undo_ops,
DataVersion dv)
|
void |
CacheImpl._put(GlobalTransaction tx,
String fqn,
Map data,
boolean create_undo_ops)
Internal put method. |
Object |
CacheImpl._put(GlobalTransaction tx,
String fqn,
Object key,
Object value,
boolean create_undo_ops)
Internal put method. |
void |
CacheImpl._putForExternalRead(GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value)
|
void |
CacheImpl._putForExternalRead(GlobalTransaction gtx,
Fqn fqn,
Object key,
Object 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 skipSendingNodeEvents,
boolean eviction,
DataVersion version)
Internal method to remove a node. |
boolean |
CacheImpl._remove(GlobalTransaction tx,
Fqn fqn,
boolean create_undo_ops,
DataVersion dv)
|
Object |
CacheImpl._remove(GlobalTransaction tx,
Fqn fqn,
Object key,
boolean create_undo_ops)
Internal method to remove a key. |
Object |
CacheImpl._remove(GlobalTransaction tx,
Fqn fqn,
Object key,
boolean create_undo_ops,
DataVersion dv)
|
void |
CacheImpl._remove(GlobalTransaction tx,
String fqn,
boolean create_undo_ops)
Internal remove method. |
Object |
CacheImpl._remove(GlobalTransaction tx,
String fqn,
Object 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,
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(Object name,
GlobalTransaction tx)
Returns an existing child or creates a new one using a global transaction. |
NodeSPI |
UnversionedNode.getOrCreateChild(Object child_name,
GlobalTransaction gtx,
boolean notify)
|
void |
CacheImpl.optimisticPrepare(GlobalTransaction gtx,
List modifications,
Map data,
org.jgroups.Address address,
boolean onePhaseCommit)
Throws UnsupportedOperationException. |
void |
CacheImpl.prepare(GlobalTransaction global_tx,
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 |
---|
Fields in org.jboss.cache.interceptors with type parameters of type GlobalTransaction | |
---|---|
protected Map<GlobalTransaction,List<MethodCall>> |
InvalidationInterceptor.txMods
|
Methods in org.jboss.cache.interceptors that return GlobalTransaction | |
---|---|
protected GlobalTransaction |
InvocationContextInterceptor.findGlobalTransaction(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,
InvocationContext ctx)
|
protected void |
OptimisticReplicationInterceptor.broadcastPrepare(MethodCall methodCall,
GlobalTransaction gtx,
InvocationContext ctx)
|
protected void |
OptimisticReplicationInterceptor.broadcastRollback(GlobalTransaction gtx,
InvocationContext ctx)
|
protected TransactionWorkspace |
OptimisticInterceptor.getTransactionWorkspace(GlobalTransaction gtx)
|
protected TransactionWorkspace |
OptimisticReplicationInterceptor.getTransactionWorkspace(GlobalTransaction gtx)
|
protected TransactionWorkspace |
InvalidationInterceptor.getWorkspace(GlobalTransaction gtx)
|
protected Object |
PessimisticLockInterceptor.handleAddChildMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn parentFqn,
Object childName,
Node cn,
boolean createUndoOps)
|
protected Object |
ActivationInterceptor.handleAddChildMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn parentFqn,
Object childName,
Node cn,
boolean createUndoOps)
|
protected Object |
CacheLoaderInterceptor.handleAddChildMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn parentFqn,
Object childName,
Node cn,
boolean createUndoOps)
|
protected Object |
TxInterceptor.handleAddChildMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn parentFqn,
Object childName,
Node cn,
boolean createUndoOps)
|
protected Object |
MethodDispacherInterceptor.handleAddChildMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn parentFqn,
Object childName,
Node cn,
boolean createUndoOps)
Handles CacheImpl._addChild(org.jboss.cache.transaction.GlobalTransaction, org.jboss.cache.Fqn, Object, org.jboss.cache.Node, boolean) |
protected Object |
InvalidationInterceptor.handleCommitMethod(InvocationContext ctx,
GlobalTransaction globalTransaction)
|
protected Object |
PessimisticLockInterceptor.handleCommitMethod(InvocationContext ctx,
GlobalTransaction globalTransaction)
|
protected Object |
CacheStoreInterceptor.handleCommitMethod(InvocationContext ctx,
GlobalTransaction gtx)
|
protected Object |
OptimisticReplicationInterceptor.handleCommitMethod(InvocationContext ctx,
GlobalTransaction gtx)
|
protected Object |
NotificationInterceptor.handleCommitMethod(InvocationContext ctx,
GlobalTransaction globalTransaction)
|
protected Object |
OptimisticValidatorInterceptor.handleCommitMethod(InvocationContext ctx,
GlobalTransaction globalTransaction)
|
protected Object |
DataGravitatorInterceptor.handleCommitMethod(InvocationContext ctx,
GlobalTransaction globalTransaction)
|
protected Object |
TxInterceptor.handleCommitMethod(InvocationContext ctx,
GlobalTransaction globalTransaction)
|
protected Object |
OptimisticLockingInterceptor.handleCommitMethod(InvocationContext ctx,
GlobalTransaction globalTransaction)
|
protected Object |
MethodDispacherInterceptor.handleCommitMethod(InvocationContext ctx,
GlobalTransaction globalTransaction)
Handles CacheImpl.commit(org.jboss.cache.transaction.GlobalTransaction) |
protected Object |
ReplicationInterceptor.handleCommitMethod(InvocationContext ctx,
GlobalTransaction gtx)
|
protected Object |
InvalidationInterceptor.handleOptimisticPrepareMethod(InvocationContext ctx,
GlobalTransaction gtx,
List modifications,
Map data,
org.jgroups.Address address,
boolean onePhaseCommit)
|
protected Object |
PessimisticLockInterceptor.handleOptimisticPrepareMethod(InvocationContext ctx,
GlobalTransaction gtx,
List modifications,
Map data,
org.jgroups.Address address,
boolean onePhaseCommit)
|
protected Object |
ActivationInterceptor.handleOptimisticPrepareMethod(InvocationContext ctx,
GlobalTransaction gtx,
List modifications,
Map data,
org.jgroups.Address address,
boolean onePhaseCommit)
|
protected Object |
CacheStoreInterceptor.handleOptimisticPrepareMethod(InvocationContext ctx,
GlobalTransaction gtx,
List modifications,
Map data,
org.jgroups.Address address,
boolean onePhaseCommit)
|
protected Object |
OptimisticReplicationInterceptor.handleOptimisticPrepareMethod(InvocationContext ctx,
GlobalTransaction gtx,
List modifications,
Map data,
org.jgroups.Address address,
boolean onePhaseCommit)
|
protected Object |
OptimisticValidatorInterceptor.handleOptimisticPrepareMethod(InvocationContext ctx,
GlobalTransaction gtx,
List modifications,
Map data,
org.jgroups.Address address,
boolean onePhaseCommit)
|
protected Object |
DataGravitatorInterceptor.handleOptimisticPrepareMethod(InvocationContext ctx,
GlobalTransaction gtx,
List modifications,
Map data,
org.jgroups.Address address,
boolean onePhaseCommit)
|
protected Object |
TxInterceptor.handleOptimisticPrepareMethod(InvocationContext ctx,
GlobalTransaction gtx,
List modifications,
Map data,
org.jgroups.Address address,
boolean onePhaseCommit)
|
protected Object |
OptimisticLockingInterceptor.handleOptimisticPrepareMethod(InvocationContext ctx,
GlobalTransaction gtx,
List modifications,
Map data,
org.jgroups.Address address,
boolean onePhaseCommit)
|
protected Object |
MethodDispacherInterceptor.handleOptimisticPrepareMethod(InvocationContext ctx,
GlobalTransaction gtx,
List modifications,
Map data,
org.jgroups.Address address,
boolean onePhaseCommit)
Handles CacheImpl.optimisticPrepare(org.jboss.cache.transaction.GlobalTransaction, java.util.List, java.util.Map, org.jgroups.Address, boolean) |
protected Object |
InvalidationInterceptor.handlePrepareMethod(InvocationContext ctx,
GlobalTransaction gtx,
List modification,
org.jgroups.Address coordinator,
boolean onePhaseCommit)
|
protected Object |
PessimisticLockInterceptor.handlePrepareMethod(InvocationContext ctx,
GlobalTransaction gtx,
List modification,
org.jgroups.Address coordinator,
boolean onePhaseCommit)
|
protected Object |
ActivationInterceptor.handlePrepareMethod(InvocationContext ctx,
GlobalTransaction gtx,
List modification,
org.jgroups.Address coordinator,
boolean onePhaseCommit)
|
protected Object |
CacheStoreInterceptor.handlePrepareMethod(InvocationContext ctx,
GlobalTransaction gtx,
List modification,
org.jgroups.Address coordinator,
boolean onePhaseCommit)
|
protected Object |
DataGravitatorInterceptor.handlePrepareMethod(InvocationContext ctx,
GlobalTransaction gtx,
List modification,
org.jgroups.Address coordinator,
boolean onePhaseCommit)
|
protected Object |
TxInterceptor.handlePrepareMethod(InvocationContext ctx,
GlobalTransaction gtx,
List modification,
org.jgroups.Address coordinator,
boolean onePhaseCommit)
|
protected Object |
MethodDispacherInterceptor.handlePrepareMethod(InvocationContext ctx,
GlobalTransaction gtx,
List modification,
org.jgroups.Address coordinator,
boolean onePhaseCommit)
Handles CacheImpl.prepare(org.jboss.cache.transaction.GlobalTransaction, java.util.List, org.jgroups.Address, boolean) |
protected Object |
ReplicationInterceptor.handlePrepareMethod(InvocationContext ctx,
GlobalTransaction gtx,
List modification,
org.jgroups.Address coordinator,
boolean onePhaseCommit)
|
protected Object |
InvalidationInterceptor.handlePutDataEraseMethod(InvocationContext ctx,
GlobalTransaction gt,
Fqn fqn,
Map newData,
boolean createUndoOps,
boolean eraseContents)
|
protected Object |
PessimisticLockInterceptor.handlePutDataEraseMethod(InvocationContext ctx,
GlobalTransaction gt,
Fqn fqn,
Map newData,
boolean createUndoOps,
boolean eraseContents)
|
protected Object |
ActivationInterceptor.handlePutDataEraseMethod(InvocationContext ctx,
GlobalTransaction gt,
Fqn fqn,
Map newData,
boolean createUndoOps,
boolean eraseContents)
|
protected Object |
CacheStoreInterceptor.handlePutDataEraseMethod(InvocationContext ctx,
GlobalTransaction gt,
Fqn fqn,
Map newData,
boolean createUndoOps,
boolean eraseContents)
|
protected Object |
EvictionInterceptor.handlePutDataEraseMethod(InvocationContext ctx,
GlobalTransaction gt,
Fqn fqn,
Map newData,
boolean createUndoOps,
boolean eraseContents)
|
protected Object |
CacheMgmtInterceptor.handlePutDataEraseMethod(InvocationContext ctx,
GlobalTransaction gt,
Fqn fqn,
Map newData,
boolean createUndoOps,
boolean eraseContents)
|
protected Object |
CacheLoaderInterceptor.handlePutDataEraseMethod(InvocationContext ctx,
GlobalTransaction gt,
Fqn fqn,
Map newData,
boolean createUndoOps,
boolean eraseContents)
|
protected Object |
TxInterceptor.handlePutDataEraseMethod(InvocationContext ctx,
GlobalTransaction gt,
Fqn fqn,
Map newData,
boolean createUndoOps,
boolean eraseContents)
|
protected Object |
OptimisticCreateIfNotExistsInterceptor.handlePutDataEraseMethod(InvocationContext ctx,
GlobalTransaction gt,
Fqn fqn,
Map newData,
boolean createUndoOps,
boolean eraseContents)
|
protected Object |
MethodDispacherInterceptor.handlePutDataEraseMethod(InvocationContext ctx,
GlobalTransaction gt,
Fqn fqn,
Map newData,
boolean createUndoOps,
boolean eraseContents)
Handles CacheImpl._put(org.jboss.cache.transaction.GlobalTransaction, org.jboss.cache.Fqn, java.util.Map, boolean, boolean) |
protected Object |
ReplicationInterceptor.handlePutDataEraseMethod(InvocationContext ctx,
GlobalTransaction gt,
Fqn fqn,
Map newData,
boolean createUndoOps,
boolean eraseContents)
|
protected Object |
InvalidationInterceptor.handlePutDataEraseVersionedMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Map data,
boolean createUndoOps,
boolean eraseContent,
DataVersion dv)
|
protected Object |
TxInterceptor.handlePutDataEraseVersionedMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Map data,
boolean createUndoOps,
boolean eraseContent,
DataVersion dv)
|
protected Object |
OptimisticCreateIfNotExistsInterceptor.handlePutDataEraseVersionedMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Map data,
boolean createUndoOps,
boolean eraseContent,
DataVersion dv)
|
protected Object |
MethodDispacherInterceptor.handlePutDataEraseVersionedMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Map data,
boolean createUndoOps,
boolean eraseContent,
DataVersion dv)
Handles CacheImpl._put(org.jboss.cache.transaction.GlobalTransaction, org.jboss.cache.Fqn, java.util.Map, boolean, boolean, org.jboss.cache.optimistic.DataVersion) |
protected Object |
ReplicationInterceptor.handlePutDataEraseVersionedMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Map data,
boolean createUndoOps,
boolean eraseContent,
DataVersion dv)
|
protected Object |
InvalidationInterceptor.handlePutDataMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Map data,
boolean createUndoOps)
|
protected Object |
PessimisticLockInterceptor.handlePutDataMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Map data,
boolean createUndoOps)
|
protected Object |
ActivationInterceptor.handlePutDataMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Map data,
boolean createUndoOps)
|
protected Object |
CacheStoreInterceptor.handlePutDataMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Map data,
boolean createUndoOps)
|
protected Object |
EvictionInterceptor.handlePutDataMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Map data,
boolean createUndoOps)
|
protected Object |
CacheMgmtInterceptor.handlePutDataMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Map data,
boolean createUndoOps)
|
protected Object |
CacheLoaderInterceptor.handlePutDataMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Map data,
boolean createUndoOps)
|
protected Object |
TxInterceptor.handlePutDataMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Map data,
boolean createUndoOps)
|
protected Object |
OptimisticCreateIfNotExistsInterceptor.handlePutDataMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Map data,
boolean createUndoOps)
|
protected Object |
MethodDispacherInterceptor.handlePutDataMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Map data,
boolean createUndoOps)
Handles CacheImpl._put(org.jboss.cache.transaction.GlobalTransaction, String, java.util.Map, boolean) |
protected Object |
ReplicationInterceptor.handlePutDataMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Map data,
boolean createUndoOps)
|
protected Object |
InvalidationInterceptor.handlePutDataVersionedMethod(InvocationContext ctx,
GlobalTransaction globalTransaction,
Fqn fqn,
Map map,
Boolean createUndoOps,
DataVersion dataVersion)
|
protected Object |
TxInterceptor.handlePutDataVersionedMethod(InvocationContext ctx,
GlobalTransaction globalTransaction,
Fqn fqn,
Map map,
Boolean createUndoOps,
DataVersion dataVersion)
|
protected Object |
OptimisticCreateIfNotExistsInterceptor.handlePutDataVersionedMethod(InvocationContext ctx,
GlobalTransaction globalTransaction,
Fqn fqn,
Map map,
Boolean createUndoOps,
DataVersion dataVersion)
|
protected Object |
MethodDispacherInterceptor.handlePutDataVersionedMethod(InvocationContext ctx,
GlobalTransaction globalTransaction,
Fqn fqn,
Map map,
Boolean createUndoOps,
DataVersion dataVersion)
Handles CacheImpl._put(org.jboss.cache.transaction.GlobalTransaction, org.jboss.cache.Fqn, java.util.Map, boolean, org.jboss.cache.optimistic.DataVersion) |
protected Object |
ReplicationInterceptor.handlePutDataVersionedMethod(InvocationContext ctx,
GlobalTransaction globalTransaction,
Fqn fqn,
Map map,
Boolean createUndoOps,
DataVersion dataVersion)
|
protected Object |
PessimisticLockInterceptor.handlePutForExternalReadMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Object key,
Object value)
|
protected Object |
ActivationInterceptor.handlePutForExternalReadMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Object key,
Object value)
|
protected Object |
CacheStoreInterceptor.handlePutForExternalReadMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Object key,
Object value)
|
protected Object |
OptimisticReplicationInterceptor.handlePutForExternalReadMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value)
|
protected Object |
EvictionInterceptor.handlePutForExternalReadMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Object key,
Object value)
|
protected Object |
CacheMgmtInterceptor.handlePutForExternalReadMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Object key,
Object value)
|
protected Object |
CacheLoaderInterceptor.handlePutForExternalReadMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Object key,
Object value)
|
protected Object |
TxInterceptor.handlePutForExternalReadMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Object key,
Object value)
|
protected Object |
OptimisticCreateIfNotExistsInterceptor.handlePutForExternalReadMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Object key,
Object value)
|
protected Object |
MethodDispacherInterceptor.handlePutForExternalReadMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Object key,
Object value)
Handles CacheImpl._putForExternalRead(org.jboss.cache.transaction.GlobalTransaction, org.jboss.cache.Fqn, Object, Object) |
protected Object |
ReplicationInterceptor.handlePutForExternalReadMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value)
|
protected Object |
OptimisticReplicationInterceptor.handlePutForExternalReadVersionedMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value,
DataVersion dv)
|
protected Object |
TxInterceptor.handlePutForExternalReadVersionedMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value,
DataVersion dv)
|
protected Object |
OptimisticCreateIfNotExistsInterceptor.handlePutForExternalReadVersionedMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value,
DataVersion dv)
|
protected Object |
MethodDispacherInterceptor.handlePutForExternalReadVersionedMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value,
DataVersion dv)
Handles CacheImpl._putForExternalRead(org.jboss.cache.transaction.GlobalTransaction, org.jboss.cache.Fqn, Object, Object, org.jboss.cache.optimistic.DataVersion) |
protected Object |
ReplicationInterceptor.handlePutForExternalReadVersionedMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value,
DataVersion dv)
|
protected Object |
InvalidationInterceptor.handlePutKeyValueMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value,
boolean createUndoOps)
|
protected Object |
PessimisticLockInterceptor.handlePutKeyValueMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value,
boolean createUndoOps)
|
protected Object |
ActivationInterceptor.handlePutKeyValueMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value,
boolean createUndoOps)
|
protected Object |
CacheStoreInterceptor.handlePutKeyValueMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value,
boolean createUndoOps)
|
protected Object |
EvictionInterceptor.handlePutKeyValueMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value,
boolean createUndoOps)
|
protected Object |
CacheMgmtInterceptor.handlePutKeyValueMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value,
boolean createUndoOps)
|
protected Object |
CacheLoaderInterceptor.handlePutKeyValueMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value,
boolean createUndoOps)
|
protected Object |
TxInterceptor.handlePutKeyValueMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value,
boolean createUndoOps)
|
protected Object |
OptimisticCreateIfNotExistsInterceptor.handlePutKeyValueMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value,
boolean createUndoOps)
|
protected Object |
MethodDispacherInterceptor.handlePutKeyValueMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value,
boolean createUndoOps)
Handles CacheImpl._put(org.jboss.cache.transaction.GlobalTransaction, String, Object, Object, boolean) |
protected Object |
ReplicationInterceptor.handlePutKeyValueMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value,
boolean createUndoOps)
|
protected Object |
InvalidationInterceptor.handlePutKeyValueVersionedMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value,
boolean createUndoOps,
DataVersion dv)
|
protected Object |
TxInterceptor.handlePutKeyValueVersionedMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value,
boolean createUndoOps,
DataVersion dv)
|
protected Object |
OptimisticCreateIfNotExistsInterceptor.handlePutKeyValueVersionedMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value,
boolean createUndoOps,
DataVersion dv)
|
protected Object |
MethodDispacherInterceptor.handlePutKeyValueVersionedMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value,
boolean createUndoOps,
DataVersion dv)
Handles CacheImpl._put(org.jboss.cache.transaction.GlobalTransaction, org.jboss.cache.Fqn, Object, Object, boolean, org.jboss.cache.optimistic.DataVersion) |
protected Object |
ReplicationInterceptor.handlePutKeyValueVersionedMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value,
boolean createUndoOps,
DataVersion dv)
|
protected Object |
InvalidationInterceptor.handleRemoveDataMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
boolean createUndoOps)
|
protected Object |
PessimisticLockInterceptor.handleRemoveDataMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
boolean createUndoOps)
|
protected Object |
ActivationInterceptor.handleRemoveDataMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
boolean createUndoOps)
|
protected Object |
CacheStoreInterceptor.handleRemoveDataMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
boolean createUndoOps)
|
protected Object |
EvictionInterceptor.handleRemoveDataMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
boolean createUndoOps)
|
protected Object |
CacheLoaderInterceptor.handleRemoveDataMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
boolean createUndoOps)
|
protected Object |
TxInterceptor.handleRemoveDataMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
boolean createUndoOps)
|
protected Object |
MethodDispacherInterceptor.handleRemoveDataMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
boolean createUndoOps)
Handles CacheImpl._removeData(org.jboss.cache.transaction.GlobalTransaction, Fqn, boolean) |
protected Object |
ReplicationInterceptor.handleRemoveDataMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
boolean createUndoOps)
|
protected Object |
InvalidationInterceptor.handleRemoveDataVersionedMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
boolean createUndoOps,
DataVersion dv)
|
protected Object |
TxInterceptor.handleRemoveDataVersionedMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
boolean createUndoOps,
DataVersion dv)
|
protected Object |
MethodDispacherInterceptor.handleRemoveDataVersionedMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
boolean createUndoOps,
DataVersion dv)
Handles CacheImpl._removeData(org.jboss.cache.transaction.GlobalTransaction, org.jboss.cache.Fqn, boolean, org.jboss.cache.optimistic.DataVersion) |
protected Object |
ReplicationInterceptor.handleRemoveDataVersionedMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
boolean createUndoOps,
DataVersion dv)
|
protected Object |
InvalidationInterceptor.handleRemoveKeyMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Object key,
boolean createUndoOps)
|
protected Object |
PessimisticLockInterceptor.handleRemoveKeyMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Object key,
boolean createUndoOps)
|
protected Object |
ActivationInterceptor.handleRemoveKeyMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Object key,
boolean createUndoOps)
|
protected Object |
CacheStoreInterceptor.handleRemoveKeyMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Object key,
boolean createUndoOps)
|
protected Object |
EvictionInterceptor.handleRemoveKeyMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Object key,
boolean createUndoOps)
|
protected Object |
CacheLoaderInterceptor.handleRemoveKeyMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Object key,
boolean createUndoOps)
|
protected Object |
TxInterceptor.handleRemoveKeyMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Object key,
boolean createUndoOps)
|
protected Object |
MethodDispacherInterceptor.handleRemoveKeyMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Object key,
boolean createUndoOps)
Handles CacheImpl._remove(org.jboss.cache.transaction.GlobalTransaction, String, Object, boolean) |
protected Object |
ReplicationInterceptor.handleRemoveKeyMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
Object key,
boolean createUndoOps)
|
protected Object |
InvalidationInterceptor.handleRemoveKeyVersionedMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Object key,
boolean createUndoOps,
DataVersion dv)
|
protected Object |
TxInterceptor.handleRemoveKeyVersionedMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Object key,
boolean createUndoOps,
DataVersion dv)
|
protected Object |
MethodDispacherInterceptor.handleRemoveKeyVersionedMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Object key,
boolean createUndoOps,
DataVersion dv)
Handles CacheImpl._remove(org.jboss.cache.transaction.GlobalTransaction, org.jboss.cache.Fqn, Object, boolean, org.jboss.cache.optimistic.DataVersion) |
protected Object |
ReplicationInterceptor.handleRemoveKeyVersionedMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
Object key,
boolean createUndoOps,
DataVersion dv)
|
protected Object |
InvalidationInterceptor.handleRemoveNodeMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
boolean createUndoOps)
|
protected Object |
PessimisticLockInterceptor.handleRemoveNodeMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
boolean createUndoOps)
|
protected Object |
ActivationInterceptor.handleRemoveNodeMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
boolean createUndoOps)
|
protected Object |
CacheStoreInterceptor.handleRemoveNodeMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
boolean createUndoOps)
remove() methods need to be applied to the CacheLoader before passing up the call: a listener might access an element just removed, causing the CacheLoader to *load* the element before *removing* it. |
protected Object |
EvictionInterceptor.handleRemoveNodeMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
boolean createUndoOps)
|
protected Object |
CacheLoaderInterceptor.handleRemoveNodeMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
boolean createUndoOps)
|
protected Object |
TxInterceptor.handleRemoveNodeMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
boolean createUndoOps)
|
protected Object |
MethodDispacherInterceptor.handleRemoveNodeMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
boolean createUndoOps)
Handles CacheImpl._remove(org.jboss.cache.transaction.GlobalTransaction, String, boolean) |
protected Object |
ReplicationInterceptor.handleRemoveNodeMethod(InvocationContext ctx,
GlobalTransaction tx,
Fqn fqn,
boolean createUndoOps)
|
protected Object |
InvalidationInterceptor.handleRemoveNodeVersionedMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
boolean createUndoOps,
DataVersion dv)
|
protected Object |
TxInterceptor.handleRemoveNodeVersionedMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
boolean createUndoOps,
DataVersion dv)
|
protected Object |
MethodDispacherInterceptor.handleRemoveNodeVersionedMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
boolean createUndoOps,
DataVersion dv)
Handles CacheImpl._remove(org.jboss.cache.transaction.GlobalTransaction, org.jboss.cache.Fqn, boolean, org.jboss.cache.optimistic.DataVersion) |
protected Object |
ReplicationInterceptor.handleRemoveNodeVersionedMethod(InvocationContext ctx,
GlobalTransaction gtx,
Fqn fqn,
boolean createUndoOps,
DataVersion dv)
|
protected Object |
InvalidationInterceptor.handleRollbackMethod(InvocationContext ctx,
GlobalTransaction globalTransaction)
|
protected Object |
PessimisticLockInterceptor.handleRollbackMethod(InvocationContext ctx,
GlobalTransaction globalTransaction)
|
protected Object |
CacheStoreInterceptor.handleRollbackMethod(InvocationContext ctx,
GlobalTransaction gtx)
|
protected Object |
OptimisticReplicationInterceptor.handleRollbackMethod(InvocationContext ctx,
GlobalTransaction gtx)
|
protected Object |
NotificationInterceptor.handleRollbackMethod(InvocationContext ctx,
GlobalTransaction globalTransaction)
|
protected Object |
OptimisticValidatorInterceptor.handleRollbackMethod(InvocationContext ctx,
GlobalTransaction globalTransaction)
|
protected Object |
DataGravitatorInterceptor.handleRollbackMethod(InvocationContext ctx,
GlobalTransaction globalTransaction)
|
protected Object |
CacheLoaderInterceptor.handleRollbackMethod(InvocationContext ctx,
GlobalTransaction globalTransaction)
|
protected Object |
TxInterceptor.handleRollbackMethod(InvocationContext ctx,
GlobalTransaction globalTransaction)
|
protected Object |
OptimisticLockingInterceptor.handleRollbackMethod(InvocationContext ctx,
GlobalTransaction globalTransaction)
|
protected Object |
MethodDispacherInterceptor.handleRollbackMethod(InvocationContext ctx,
GlobalTransaction globalTransaction)
Handles CacheImpl.rollback(org.jboss.cache.transaction.GlobalTransaction) |
protected Object |
ReplicationInterceptor.handleRollbackMethod(InvocationContext ctx,
GlobalTransaction gtx)
|
protected WorkspaceNode |
OptimisticInterceptor.lockAndCreateWorkspaceNode(NodeFactory nodeFactory,
NodeSPI node,
TransactionWorkspace workspace,
GlobalTransaction gtx,
long timeout)
|
protected void |
TxInterceptor.runCommitPhase(InvocationContext ctx,
GlobalTransaction gtx,
Transaction tx,
List modifications,
List clModifications,
boolean onePhaseCommit)
creates a commit() MethodCall and feeds it to handleCommitRollback(); |
protected Object |
TxInterceptor.runPreparePhase(InvocationContext ctx,
GlobalTransaction gtx,
List modifications)
Handles a local prepare - invoked by the sync handler. |
protected void |
ReplicationInterceptor.runPreparePhase(MethodCall 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,
List modifications)
creates a rollback() MethodCall and feeds it to handleCommitRollback(); |
protected void |
BaseTransactionalContextInterceptor.setTransactionalContext(Transaction tx,
GlobalTransaction gtx,
InvocationContext ctx)
|
Uses of GlobalTransaction in org.jboss.cache.invocation |
---|
Methods in org.jboss.cache.invocation that return GlobalTransaction | |
---|---|
GlobalTransaction |
CacheInvocationDelegate.getCurrentTransaction()
|
GlobalTransaction |
CacheInvocationDelegate.getCurrentTransaction(Transaction tx,
boolean createIfNotExists)
|
Methods in org.jboss.cache.invocation with parameters of type GlobalTransaction | |
---|---|
NodeSPI<K,V> |
NodeInvocationDelegate.getOrCreateChild(Object name,
GlobalTransaction tx)
|
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,
TransactionTable tx_table,
TransactionManager tm)
|
Uses of GlobalTransaction in org.jboss.cache.transaction |
---|
Fields in org.jboss.cache.transaction with type parameters of type GlobalTransaction | |
---|---|
protected Map<Transaction,GlobalTransaction> |
TransactionTable.tx_map
Mapping between local (javax.transaction.Transaction) and GlobalTransactions. |
protected 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(Transaction tx)
Returns the global transaction associated with the local transaction. |
GlobalTransaction |
TransactionTable.remove(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,
Collection<NodeLock> 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. |
void |
TransactionTable.cleanup(GlobalTransaction gtx)
|
TransactionEntry |
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. |
boolean |
TransactionTable.isNodeRemovedInTx(GlobalTransaction gtx,
Fqn fqn)
|
void |
TransactionTable.put(GlobalTransaction tx,
TransactionEntry entry)
Associates the global transaction with a transaction entry. |
void |
TransactionTable.put(Transaction tx,
GlobalTransaction gtx)
Associates the global transaction with the local transaction. |
void |
TransactionTable.recordNodeLock(GlobalTransaction gtx,
NodeLock lock)
Add the lock to the list of locks maintained for this transaction (needed for release of locks on commit or rollback) |
TransactionEntry |
TransactionTable.remove(GlobalTransaction tx)
Removes a global transation, returns the old transaction entry. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |