Uses of Interface
org.jboss.cache.commands.VisitableCommand

Packages that use VisitableCommand
org.jboss.cache   
org.jboss.cache.buddyreplication   
org.jboss.cache.commands   
org.jboss.cache.commands.read   
org.jboss.cache.commands.tx   
org.jboss.cache.commands.write   
org.jboss.cache.interceptors   
org.jboss.cache.interceptors.base   
 

Uses of VisitableCommand in org.jboss.cache
 

Methods in org.jboss.cache that return VisitableCommand
 VisitableCommand InvocationContext.getCommand()
          Deprecated. 
 

Methods in org.jboss.cache with parameters of type VisitableCommand
 void InvocationContext.setCommand(VisitableCommand cacheCommand)
          Deprecated. 
 

Uses of VisitableCommand in org.jboss.cache.buddyreplication
 

Methods in org.jboss.cache.buddyreplication that return VisitableCommand
 VisitableCommand BuddyManager.transformFqns(VisitableCommand call)
           
 

Methods in org.jboss.cache.buddyreplication with parameters of type VisitableCommand
 VisitableCommand BuddyManager.transformFqns(VisitableCommand call)
           
 

Uses of VisitableCommand in org.jboss.cache.commands
 

Subinterfaces of VisitableCommand in org.jboss.cache.commands
 interface DataCommand
          Commands of this type manipulate data in the cache.
 interface ReversibleCommand
          A reversible command is one that can be rolled back.
 interface VersionedDataCommand
          Just like a DataCommand, except that these are versioned and reversible too.
 

Methods in org.jboss.cache.commands with parameters of type VisitableCommand
protected  Object AbstractVisitor.handleDefault(InvocationContext ctx, VisitableCommand command)
          A default handler for all commands visited.
 

Method parameters in org.jboss.cache.commands with type arguments of type VisitableCommand
 void AbstractVisitor.visitCollection(InvocationContext ctx, Collection<? extends VisitableCommand> toVisit)
          Helper method to visit a collection of VisitableCommands.
 

Uses of VisitableCommand in org.jboss.cache.commands.read
 

Classes in org.jboss.cache.commands.read that implement VisitableCommand
 class AbstractDataCommand
          An abstract class providing basic functionality of all DataCommands.
 class ExistsCommand
          Checks whether a given node exists in current in-memory state of the cache.
 class GetChildrenNamesCommand
          This command retrieves the names of children for a specific Fqn, as defined by Node.getChildrenNames()

This is the equivalent of the old MethodCallDefinitions.getChildrenNamesMethodLocal method call from 2.1.x.

 class GetDataMapCommand
          Implements functionality defined by Cache.getData(org.jboss.cache.Fqn)

This is the equivalent of the old MethodCallDefinitions.getDataMapMethodLocal method call from 2.1.x.

 class GetKeysCommand
          Implements functionality defined by Cache.getKeys(org.jboss.cache.Fqn)

This is the equivalent of the old MethodCallDefinitions.getKeysMethodLocal method call from 2.1.x.

 class GetKeyValueCommand
          Implements functionality defined by Cache.get(String, Object)

This is the equivalent of the old MethodCallDefinitions.getKeyValueMethodLocal method call from 2.1.x.

 class GetNodeCommand
          Implements functionality defined by Cache.getNode(org.jboss.cache.Fqn)

This is the equivalent of the old MethodCallDefinitions.getNodeMethodLocal method call from 2.1.x.

 class GravitateDataCommand
          Used with buddy replication's DataGravitatorInterceptor.
 

Uses of VisitableCommand in org.jboss.cache.commands.tx
 

Classes in org.jboss.cache.commands.tx that implement VisitableCommand
 class AbstractTransactionCommand
          Base class for transaction boundary commands that deal with global transactions
 class CommitCommand
          Represents a commit() call, the 2nd part of a 2-phase commit.
 class OptimisticPrepareCommand
          An optimistic version of PrepareCommand.
 class PrepareCommand
          The prepare phase of a 2-phase commit, or the single prepare/commit phase of a single-phase commit.
 class RollbackCommand
          The rollback phase of a 2-phase commit.
 

Uses of VisitableCommand in org.jboss.cache.commands.write
 

Classes in org.jboss.cache.commands.write that implement VisitableCommand
 class AbstractVersionedDataCommand
          Base version of DataCommand which handles common behaviour
 class CreateNodeCommand
          Command that creates a node.
 class EvictCommand
          Implements functionality defined by Cache.evict(org.jboss.cache.Fqn)
 class InvalidateCommand
          Very much like an evict(), except that regardless of whether there is a child present, this call will never remove the node from memory - just remove its contents.
 class MoveCommand
          Implements functionality defined by Cache.move(org.jboss.cache.Fqn, org.jboss.cache.Fqn)
 class PutDataMapCommand
          Implements functionality defined by Cache.put(String, java.util.Map).
 class PutKeyValueCommand
          Implements functionality defined by Cache.put(org.jboss.cache.Fqn, Object, Object).
 class RemoveDataCommand
          Implements functionality defined by Cache.remove(String, Object)
 class RemoveKeyCommand
          Implements functionality defined by Cache.remove(org.jboss.cache.Fqn, Object)
 class RemoveNodeCommand
          Implements functionality defined by Cache.removeNode(org.jboss.cache.Fqn)
 

Uses of VisitableCommand in org.jboss.cache.interceptors
 

Methods in org.jboss.cache.interceptors with parameters of type VisitableCommand
 void PessimisticLockInterceptor.doAfterCall(InvocationContext ctx, VisitableCommand command)
           
 Object InvocationContextInterceptor.handleAll(InvocationContext ctx, VisitableCommand command, GlobalTransaction gtx)
           
 Object TxInterceptor.handleDefault(InvocationContext ctx, VisitableCommand command)
          Tests if we already have a tx running.
 Object TxInterceptor.ModificationsReplayVisitor.handleDefault(InvocationContext ctx, VisitableCommand command)
           
 Object OptimisticReplicationInterceptor.DataVersionPopulator.handleDefault(InvocationContext ctx, VisitableCommand command)
           
 Object InvocationContextInterceptor.handleDefault(InvocationContext ctx, VisitableCommand command)
           
 Object Interceptor.handleDefault(InvocationContext ctx, VisitableCommand command)
          Deprecated.  
 Object CallInterceptor.handleDefault(InvocationContext ctx, VisitableCommand command)
           
 Object InterceptorChain.invoke(InvocationContext ctx, VisitableCommand command)
          Walks the command through the interceptor chain.
 Object InterceptorChain.invoke(VisitableCommand cacheCommand)
          Similar to #invoke(org.jboss.cache.InvocationContext, org.jboss.cache.commands.ReplicableCommand), but constructs a invocation context on the fly, using ThreadLocal.get() and setting the origin local flag to it's default value.
 Object InterceptorChain.invokeRemote(VisitableCommand cacheCommand)
          Similar to #invoke(org.jboss.cache.InvocationContext, org.jboss.cache.commands.ReplicableCommand), but constructs a invocation context on the fly, using ThreadLocal.get()
 boolean CacheStoreInterceptor.skipInterception(InvocationContext ctx, VisitableCommand command)
          if this is a shared cache loader and the call is of remote origin, pass up the chain
 

Uses of VisitableCommand in org.jboss.cache.interceptors.base
 

Methods in org.jboss.cache.interceptors.base with parameters of type VisitableCommand
protected abstract  void PostProcessingCommandInterceptor.doAfterCall(InvocationContext ctx, VisitableCommand command)
          Callback that is invoked after every handleXXX() method defined above.
protected  Object SkipCheckChainedInterceptor.handleAll(InvocationContext ctx, VisitableCommand command)
          Default implementation, which just passes the call up the interceptor chain
 Object SkipCheckChainedInterceptor.handleDefault(InvocationContext ctx, VisitableCommand command)
           
protected  Object CommandInterceptor.handleDefault(InvocationContext ctx, VisitableCommand command)
          The default behaviour of the visitXXX methods, which is to ignore the call and pass the call up to the next interceptor in the chain.
 Object CommandInterceptor.invokeNextInterceptor(InvocationContext ctx, VisitableCommand command)
          Invokes the next interceptor in the chain.
protected abstract  boolean SkipCheckChainedInterceptor.skipInterception(InvocationContext ctx, VisitableCommand command)
          Tests whether the command should be intercepted or not.
 



Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.