|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of InvocationContext in org.jboss.cache |
---|
Methods in org.jboss.cache that return InvocationContext | |
---|---|
abstract InvocationContext |
InvocationContext.copy()
This is a "copy-factory-method" that should be used whenever a clone of this class is needed. |
InvocationContext |
Cache.getInvocationContext()
|
Methods in org.jboss.cache with parameters of type InvocationContext | |
---|---|
void |
NodeSPI.commitUpdate(InvocationContext ctx,
DataContainer container)
Commits any updates made on this node to the underlying data structure, making it visible to all other transactions. |
InternalNode<K,V> |
AbstractNodeFactory.createChildNode(Fqn fqn,
InternalNode<K,V> parent,
InvocationContext ctx,
boolean attachToParent)
|
InternalNode<K,V> |
NodeFactory.createChildNode(Fqn fqn,
InternalNode<K,V> parent,
InvocationContext ctx,
boolean attachToParent)
Creates a new node, and optionally attaches the node to its parent. |
protected void |
InvocationContext.doCopy(InvocationContext copy)
|
GravitateResult |
CacheSPI.gravitateData(Fqn fqn,
boolean searchBuddyBackupSubtrees,
InvocationContext ctx)
Used with buddy replication's data gravitation interceptor. |
void |
Cache.setInvocationContext(InvocationContext ctx)
Sets the passed in InvocationContext as current. |
void |
InvocationContext.setState(InvocationContext template)
Sets the state of the InvocationContext based on the template context passed in |
Uses of InvocationContext in org.jboss.cache.buddyreplication |
---|
Uses of InvocationContext in org.jboss.cache.commands |
---|
Uses of InvocationContext in org.jboss.cache.commands.legacy.read |
---|
Methods in org.jboss.cache.commands.legacy.read with parameters of type InvocationContext | |
---|---|
Object |
PessGetChildrenNamesCommand.perform(InvocationContext ctx)
Deprecated. Retrieves the names of children for a specific Fqn. |
Uses of InvocationContext in org.jboss.cache.commands.legacy.write |
---|
Methods in org.jboss.cache.commands.legacy.write with parameters of type InvocationContext | |
---|---|
Object |
CreateNodeCommand.acceptVisitor(InvocationContext ctx,
Visitor visitor)
Deprecated. |
protected void |
VersionedInvalidateCommand.createTombstone(InvocationContext ctx)
Deprecated. |
protected boolean |
LegacyEvictCommand.evictNode(Fqn fqn,
InvocationContext ctx,
NodeSPI node)
Deprecated. |
protected NodeSPI |
LegacyEvictCommand.lookupForEviction(InvocationContext ctx,
Fqn fqn)
Deprecated. |
Object |
PessMoveCommand.perform(InvocationContext ctx)
Deprecated. Moves a node, from fqn to to, and returns null. |
Object |
PessPutDataMapCommand.perform(InvocationContext ctx)
Deprecated. |
Object |
PessClearDataCommand.perform(InvocationContext ctx)
Deprecated. |
Object |
PessPutForExternalReadCommand.perform(InvocationContext ctx)
Deprecated. |
Object |
VersionedInvalidateCommand.perform(InvocationContext ctx)
Deprecated. |
Object |
PessPutKeyValueCommand.perform(InvocationContext ctx)
Deprecated. |
Object |
PessRemoveNodeCommand.perform(InvocationContext ctx)
Deprecated. |
Object |
PessRemoveKeyCommand.perform(InvocationContext ctx)
Deprecated. |
Object |
CreateNodeCommand.perform(InvocationContext ctx)
Deprecated. Creates a node in the cache, specified by the given Fqn. |
protected void |
PessRemoveNodeCommand.recursivelyMarkAsRemoved(NodeSPI node,
InvocationContext ctx)
Deprecated. |
protected void |
VersionedInvalidateCommand.removeData(NodeSPI n,
InvocationContext ctx)
Deprecated. |
Uses of InvocationContext in org.jboss.cache.commands.read |
---|
Methods in org.jboss.cache.commands.read with parameters of type InvocationContext | |
---|---|
Object |
GravitateDataCommand.acceptVisitor(InvocationContext ctx,
Visitor visitor)
|
Object |
GetChildrenNamesCommand.acceptVisitor(InvocationContext ctx,
Visitor visitor)
|
Object |
GetKeysCommand.acceptVisitor(InvocationContext ctx,
Visitor visitor)
|
Object |
GetNodeCommand.acceptVisitor(InvocationContext ctx,
Visitor visitor)
|
Object |
GetKeyValueCommand.acceptVisitor(InvocationContext ctx,
Visitor visitor)
|
Object |
ExistsCommand.acceptVisitor(InvocationContext ctx,
Visitor visitor)
|
Object |
GetDataMapCommand.acceptVisitor(InvocationContext ctx,
Visitor visitor)
|
Object |
GravitateDataCommand.perform(InvocationContext ctx)
Searches for data to gravitate given an Fqn and whether buddy backup subtrees are to be searched as well. |
Object |
GetChildrenNamesCommand.perform(InvocationContext ctx)
Retrieves the names of children for a specific Fqn. |
Object |
GetKeysCommand.perform(InvocationContext ctx)
Retrieves Set of keys for all the data stored in a node referenced by the specified Fqn. |
Object |
GetNodeCommand.perform(InvocationContext ctx)
Retrieves a Node referenced by the specified Fqn. |
Object |
GetKeyValueCommand.perform(InvocationContext ctx)
Retrieves the value stored under a specified key in a node referenced by the specified Fqn. |
Object |
ExistsCommand.perform(InvocationContext ctx)
Checks whether a node represented by a given Fqn exists. |
Object |
GetDataMapCommand.perform(InvocationContext ctx)
Retrieves an unmodifiable map of data contained in a node referenced by the specified Fqn. |
Uses of InvocationContext in org.jboss.cache.commands.remote |
---|
Methods in org.jboss.cache.commands.remote with parameters of type InvocationContext | |
---|---|
Object |
ClusteredGetCommand.perform(InvocationContext context)
Invokes a DataCommand on a remote cache and returns results. |
Object |
AssignToBuddyGroupCommand.perform(InvocationContext ctx)
This method calls the relevant handler on the buddy manager to deal with being assigned to a buddy group |
Object |
RemoveFromBuddyGroupCommand.perform(InvocationContext ctx)
This method calls the relevant handler on the buddy manager to deal with being removed from a buddy group |
Object |
AnnounceBuddyPoolNameCommand.perform(InvocationContext ctx)
This method calls the relevant handler on the buddy manager to deal with this pool broadcast. |
Object |
DataGravitationCleanupCommand.perform(InvocationContext ctx)
Performs a cleanup on nodes that would have been previously gravitated away from the current cache instance. |
Object |
ReplicateCommand.perform(InvocationContext ctx)
Executes commands replicated to the current cache instance by other cache instances. |
Uses of InvocationContext in org.jboss.cache.commands.tx |
---|
Methods in org.jboss.cache.commands.tx with parameters of type InvocationContext | |
---|---|
Object |
OptimisticPrepareCommand.acceptVisitor(InvocationContext ctx,
Visitor visitor)
|
Object |
RollbackCommand.acceptVisitor(InvocationContext ctx,
Visitor visitor)
|
Object |
PrepareCommand.acceptVisitor(InvocationContext ctx,
Visitor visitor)
|
Object |
CommitCommand.acceptVisitor(InvocationContext ctx,
Visitor visitor)
|
Object |
AbstractTransactionCommand.perform(InvocationContext ctx)
Default implementation which is a no-op. |
Uses of InvocationContext in org.jboss.cache.commands.write |
---|
Methods in org.jboss.cache.commands.write with parameters of type InvocationContext | |
---|---|
Object |
MoveCommand.acceptVisitor(InvocationContext ctx,
Visitor visitor)
|
Object |
RemoveKeyCommand.acceptVisitor(InvocationContext ctx,
Visitor visitor)
|
Object |
InvalidateCommand.acceptVisitor(InvocationContext ctx,
Visitor visitor)
|
Object |
EvictCommand.acceptVisitor(InvocationContext ctx,
Visitor visitor)
|
Object |
ClearDataCommand.acceptVisitor(InvocationContext ctx,
Visitor visitor)
|
Object |
RemoveNodeCommand.acceptVisitor(InvocationContext ctx,
Visitor visitor)
|
Object |
PutForExternalReadCommand.acceptVisitor(InvocationContext ctx,
Visitor visitor)
|
Object |
PutKeyValueCommand.acceptVisitor(InvocationContext ctx,
Visitor visitor)
|
Object |
PutDataMapCommand.acceptVisitor(InvocationContext ctx,
Visitor visitor)
|
protected boolean |
EvictCommand.evictNode(Fqn fqn,
InvocationContext ctx,
NodeSPI node)
|
protected NodeSPI |
EvictCommand.lookupForEviction(InvocationContext ctx,
Fqn fqn)
|
protected NodeSPI |
AbstractVersionedDataCommand.peekVersioned(InvocationContext ctx)
Utility method to peek a node and throw an exception if the version isn't what is expected. |
Object |
MoveCommand.perform(InvocationContext ctx)
Moves a node, from fqn to to, and returns null. |
Object |
RemoveKeyCommand.perform(InvocationContext ctx)
Removes the specified key from the data map in the node referenced by the specified Fqn. |
Object |
InvalidateCommand.perform(InvocationContext ctx)
Performs an invalidation on a specified node |
Object |
EvictCommand.perform(InvocationContext ctx)
Evicts a node. |
Object |
ClearDataCommand.perform(InvocationContext ctx)
Clears the data map in the node referenced by the specified Fqn. |
Object |
RemoveNodeCommand.perform(InvocationContext ctx)
Removes the node referenced by the specified Fqn. |
Object |
PutKeyValueCommand.perform(InvocationContext ctx)
Puts the specified key and value into the data map in the node referenced by the specified Fqn. |
Object |
PutDataMapCommand.perform(InvocationContext ctx)
Adds the provided data map to the data map in the node referenced by the specified Fqn. |
protected void |
RemoveNodeCommand.recursivelyMarkAsRemoved(NodeSPI node,
InvocationContext ctx)
Recursively marks a node as removed. |
Uses of InvocationContext in org.jboss.cache.factories.context |
---|
Methods in org.jboss.cache.factories.context that return InvocationContext | |
---|---|
InvocationContext |
MVCCContextFactory.createInvocationContext()
|
InvocationContext |
PessimisticContextFactory.createInvocationContext()
Deprecated. |
InvocationContext |
ContextFactory.createInvocationContext()
|
Uses of InvocationContext in org.jboss.cache.interceptors |
---|
Methods in org.jboss.cache.interceptors that return InvocationContext | |
---|---|
InvocationContext |
InterceptorChain.getInvocationContext()
|
Uses of InvocationContext in org.jboss.cache.interceptors.base |
---|
Uses of InvocationContext in org.jboss.cache.invocation |
---|
Subclasses of InvocationContext in org.jboss.cache.invocation | |
---|---|
class |
LegacyInvocationContext
Deprecated. will be removed along with optimistic and pessimistic locking. |
class |
MVCCInvocationContext
An invocation context that is specific to MVCC locking |
Methods in org.jboss.cache.invocation that return InvocationContext | |
---|---|
InvocationContext |
MVCCInvocationContext.copy()
|
InvocationContext |
LegacyInvocationContext.copy()
Deprecated. |
InvocationContext |
CacheInvocationDelegate.getInvocationContext()
|
protected InvocationContext |
InvocationContextContainer.initialValue()
|
Methods in org.jboss.cache.invocation with parameters of type InvocationContext | |
---|---|
protected void |
CacheInvocationDelegate.cacheStatusCheck(InvocationContext ctx)
|
void |
NodeInvocationDelegate.commitUpdate(InvocationContext ctx,
DataContainer container)
|
GravitateResult |
CacheInvocationDelegate.gravitateData(Fqn fqn,
boolean searchBuddyBackupSubtrees,
InvocationContext ctx)
|
void |
CacheInvocationDelegate.setInvocationContext(InvocationContext ctx)
|
Uses of InvocationContext in org.jboss.cache.lock |
---|
Methods in org.jboss.cache.lock with parameters of type InvocationContext | |
---|---|
Object |
AbstractLockManager.getLockOwner(InvocationContext ctx)
|
Object |
LockManager.getLockOwner(InvocationContext ctx)
Determines the owner to be used when obtaining locks, given an invocation context. |
boolean |
MVCCLockManager.lockAllAndRecord(Fqn fqn,
LockType lockType,
InvocationContext ctx)
|
boolean |
NodeBasedLockManager.lockAllAndRecord(Fqn fqn,
LockType lockType,
InvocationContext ctx)
Deprecated. |
boolean |
LockManager.lockAllAndRecord(Fqn fqn,
LockType lockType,
InvocationContext ctx)
Locks the node and all child nodes, acquiring lock of type specified for the owner specified. |
boolean |
LockManager.lockAllAndRecord(NodeSPI<?,?> node,
LockType lockType,
InvocationContext ctx)
Locks the node and all child nodes, acquiring lock of type specified for the owner specified. |
boolean |
MVCCLockManager.lockAllAndRecord(NodeSPI node,
LockType lockType,
InvocationContext ctx)
|
boolean |
NodeBasedLockManager.lockAllAndRecord(NodeSPI node,
LockType lockType,
InvocationContext ctx)
Deprecated. |
boolean |
MVCCLockManager.lockAndRecord(Fqn fqn,
LockType lockType,
InvocationContext ctx)
|
boolean |
NodeBasedLockManager.lockAndRecord(Fqn fqn,
LockType lockType,
InvocationContext ctx)
Deprecated. |
boolean |
LockManager.lockAndRecord(Fqn fqn,
LockType lockType,
InvocationContext ctx)
Acquires a lock of type lockType, on a specific Node in the cache, denoted by fqn. |
boolean |
LockManager.lockAndRecord(NodeSPI<?,?> node,
LockType lockType,
InvocationContext ctx)
Acquires a lock of type lockType, on a specific Node in the cache, denoted by fqn. |
boolean |
FqnLockManager.lockAndRecord(NodeSPI node,
LockType lockType,
InvocationContext ctx)
|
boolean |
NodeBasedLockManager.lockAndRecord(NodeSPI node,
LockType lockType,
InvocationContext ctx)
Deprecated. |
boolean |
PessimisticNodeBasedLockManager.lockPessimistically(InvocationContext ctx,
Fqn fqn,
LockType lockType,
boolean createIfNotExists,
boolean zeroLockTimeout,
boolean acquireWriteLockOnParent,
boolean reverseRemoveCheck,
List<NodeSPI> createdNodes,
boolean skipNotification)
Deprecated. A specific lock method for the PessimisticLockInterceptor. |
static void |
LockUtil.manageReverseRemove(InvocationContext ctx,
NodeSPI childNode,
boolean reverseRemoveCheck,
List createdNodes,
CommandsFactory commandsFactory)
Test if this node needs to be 'undeleted' reverse the "remove" if the node has been previously removed in the same tx, if this operation is a put() |
void |
MVCCLockManager.unlock(InvocationContext ctx)
|
void |
NodeBasedLockManager.unlock(InvocationContext ctx)
Deprecated. |
void |
LockManager.unlock(InvocationContext ctx)
Releases locks present in an invocation context and transaction entry, if one is available. |
Uses of InvocationContext in org.jboss.cache.mvcc |
---|
Methods in org.jboss.cache.mvcc with parameters of type InvocationContext | |
---|---|
void |
ReadCommittedNode.commitUpdate(InvocationContext ctx,
DataContainer container)
|
InternalNode<K,V> |
MVCCNodeFactory.createChildNode(Fqn fqn,
InternalNode<K,V> parent,
InvocationContext ctx,
boolean attachToParent)
|
protected InternalNode |
ReadCommittedNode.lookupParent(Fqn fqn,
InvocationContext ctx,
DataContainer container)
Performs a lookup for the parent node of the Fqn passed in. |
protected void |
RepeatableReadNode.updateNode(Fqn fqn,
InvocationContext ctx,
DataContainer dataContainer)
|
protected void |
ReadCommittedNode.updateNode(Fqn fqn,
InvocationContext ctx,
DataContainer dataContainer)
Updates state changes on the current node in the underlying data structure. |
NodeSPI |
MVCCNodeHelper.wrapNodeForReading(InvocationContext ctx,
Fqn fqn,
boolean putInContext)
Similar to MVCCNodeHelper.wrapNodesForReading(org.jboss.cache.InvocationContext, java.util.Collection) except that this
version takes a single Fqn parameter to wrap a single node. |
ReadCommittedNode |
MVCCNodeHelper.wrapNodeForWriting(InvocationContext context,
Fqn fqn,
boolean lockForWriting,
boolean createIfAbsent,
boolean includeInvalidNodes,
boolean forRemoval,
boolean force)
First checks in contexts for the existence of the node. |
NodeSPI |
MVCCNodeHelper.wrapNodeForWriting(InvocationContext context,
InternalNode node,
InternalNode parent)
The same as MVCCNodeHelper.wrapNodeForWriting(org.jboss.cache.InvocationContext, org.jboss.cache.Fqn, boolean, boolean,
boolean, boolean, boolean) except that it takes in an InternalNode instead of a Fqn . |
void |
MVCCNodeHelper.wrapNodesForReading(InvocationContext ctx,
Collection<Fqn> fqns)
Attempts to provide the context with a set of wrapped nodes based on the Collection of fqns passed in. |
List<Fqn> |
MVCCNodeHelper.wrapNodesRecursivelyForRemoval(InvocationContext ctx,
Fqn fqn)
Wraps a node and all its subnodes and adds them to the context, acquiring write locks for them all. |
Uses of InvocationContext in org.jboss.cache.notifications |
---|
Methods in org.jboss.cache.notifications with parameters of type InvocationContext | |
---|---|
void |
NotifierImpl.notifyNodeActivated(Fqn fqn,
boolean pre,
Map data,
InvocationContext ctx)
|
void |
Notifier.notifyNodeActivated(Fqn fqn,
boolean pre,
Map data,
InvocationContext ctx)
Notifies all registered listeners of a nodeActivated event. |
void |
NotifierImpl.notifyNodeCreated(Fqn fqn,
boolean pre,
InvocationContext ctx)
|
void |
Notifier.notifyNodeCreated(Fqn fqn,
boolean pre,
InvocationContext ctx)
Notifies all registered listeners of a nodeCreated event. |
void |
NotifierImpl.notifyNodeEvicted(Fqn fqn,
boolean pre,
InvocationContext ctx)
|
void |
Notifier.notifyNodeEvicted(Fqn fqn,
boolean pre,
InvocationContext ctx)
Notifies all registered listeners of a nodeEvicted event. |
void |
NotifierImpl.notifyNodeInvalidated(Fqn fqn,
boolean pre,
InvocationContext ctx)
|
void |
Notifier.notifyNodeInvalidated(Fqn fqn,
boolean pre,
InvocationContext ctx)
Notifies all registered listeners of a nodeInvalidated event. |
void |
NotifierImpl.notifyNodeLoaded(Fqn fqn,
boolean pre,
Map data,
InvocationContext ctx)
|
void |
Notifier.notifyNodeLoaded(Fqn fqn,
boolean pre,
Map data,
InvocationContext ctx)
Notifies all registered listeners of a nodeLoaded event. |
void |
NotifierImpl.notifyNodeModified(Fqn fqn,
boolean pre,
NodeModifiedEvent.ModificationType modificationType,
Map data,
InvocationContext ctx)
|
void |
Notifier.notifyNodeModified(Fqn fqn,
boolean pre,
NodeModifiedEvent.ModificationType modificationType,
Map data,
InvocationContext ctx)
Notifies all registered listeners of a nodeModified event. |
void |
NotifierImpl.notifyNodeMoved(Fqn originalFqn,
Fqn newFqn,
boolean pre,
InvocationContext ctx)
|
void |
Notifier.notifyNodeMoved(Fqn originalFqn,
Fqn newFqn,
boolean pre,
InvocationContext ctx)
Notifies all registered listeners of a nodeMoved event. |
void |
NotifierImpl.notifyNodePassivated(Fqn fqn,
boolean pre,
Map data,
InvocationContext ctx)
|
void |
Notifier.notifyNodePassivated(Fqn fqn,
boolean pre,
Map data,
InvocationContext ctx)
Notifies all registered listeners of a nodePassivated event. |
void |
NotifierImpl.notifyNodeRemoved(Fqn fqn,
boolean pre,
Map data,
InvocationContext ctx)
|
void |
Notifier.notifyNodeRemoved(Fqn fqn,
boolean pre,
Map data,
InvocationContext ctx)
Notifies all registered listeners of a nodeRemoved event. |
void |
NotifierImpl.notifyNodeVisited(Fqn fqn,
boolean pre,
InvocationContext ctx)
|
void |
Notifier.notifyNodeVisited(Fqn fqn,
boolean pre,
InvocationContext ctx)
Notifies all registered listeners of a nodeVisited event. |
void |
NotifierImpl.notifyTransactionCompleted(Transaction transaction,
boolean successful,
InvocationContext ctx)
|
void |
Notifier.notifyTransactionCompleted(Transaction transaction,
boolean successful,
InvocationContext ctx)
Notifies all registered listeners of a transaction completion event. |
void |
NotifierImpl.notifyTransactionRegistered(Transaction transaction,
InvocationContext ctx)
|
void |
Notifier.notifyTransactionRegistered(Transaction transaction,
InvocationContext ctx)
Notifies all registered listeners of a transaction registration event. |
void |
NotifierImpl.notifyViewChange(org.jgroups.View newView,
InvocationContext ctx)
|
void |
Notifier.notifyViewChange(org.jgroups.View view,
InvocationContext ctx)
Notifies all registered listeners of a viewChange event. |
Uses of InvocationContext in org.jboss.cache.transaction |
---|
Methods in org.jboss.cache.transaction with parameters of type InvocationContext | |
---|---|
static void |
TransactionTable.assertTransactionValid(InvocationContext ctx)
Tests whether the caller is in a valid transaction. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |