Uses of Interface

Packages that use VisitableCommand
org.infinispan.commands Commands that operate on the cache, either locally or remotely. 
org.infinispan.commands.control Commands that control and coordinate certain cache operations, such as rehashing, state transfer and locking. Commands that read data from the cache. 
org.infinispan.commands.tx Commands that represent transactional lifecycle transitions. 
org.infinispan.commands.write Commands that alter the state of the cache. 
org.infinispan.context Contexts contain information of a specific invocation on the cache, such as its origins, scope (transactional or non-transactional), as well as invocation-specific flags. 
org.infinispan.interceptors Infinispan is designed around a set of interceptors around a data container. 
org.infinispan.interceptors.base Base interceptors containing common, reusable behavior. 
org.infinispan.statetransfer Transfer of state to new caches in a cluster. 

Uses of VisitableCommand in org.infinispan.commands

Subinterfaces of VisitableCommand in org.infinispan.commands
 interface DataCommand
          Commands of this type manipulate data in the cache.

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

Method parameters in org.infinispan.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.infinispan.commands.control

Classes in org.infinispan.commands.control that implement VisitableCommand
 class LockControlCommand
          LockControlCommand is a command that enables distributed locking across infinispan nodes.

Uses of VisitableCommand in

Classes in that implement VisitableCommand
 class AbstractDataCommand
 class DistributedExecuteCommand<V>
          DistributedExecuteCommand is used to migrate Callable and execute it in remote JVM.
 class EntrySetCommand
          Command implementation for Map.entrySet() functionality.
 class GetKeyValueCommand
          Implements functionality defined by Map.get(Object) and Map.containsKey(Object) operations
 class KeySetCommand
          Command implementation for Map.keySet() functionality.
 class SizeCommand
          Command to calculate the size of the cache
 class ValuesCommand
          Command implementation for Map.values() functionality.

Uses of VisitableCommand in org.infinispan.commands.tx

Subinterfaces of VisitableCommand in org.infinispan.commands.tx
 interface TransactionBoundaryCommand
          An transaction boundary command that allows the retrieval of an attached GlobalTransaction

Classes in org.infinispan.commands.tx that implement VisitableCommand
 class AbstractTransactionBoundaryCommand
          An abstract transaction boundary command that holds a reference to a GlobalTransaction
 class CommitCommand
          Command corresponding to the 2nd phase of 2PC.
 class PrepareCommand
          Command corresponding to the 1st phase of 2PC.
 class RollbackCommand
          Command corresponding to a transaction rollback.
 class VersionedCommitCommand
          The same as a CommitCommand except that version information is also carried by this command, used by optimistically transactional caches making use of write skew checking when using IsolationLevel.REPEATABLE_READ.
 class VersionedPrepareCommand
          Same as PrepareCommand except that the transaction originator makes evident the versions of entries touched and stored in a transaction context so that accurate write skew checks may be performed by the lock owner(s).

Uses of VisitableCommand in org.infinispan.commands.write

Subinterfaces of VisitableCommand in org.infinispan.commands.write
 interface DataWriteCommand
          Mixes features from DataCommand and WriteCommand
 interface WriteCommand
          A command that modifies the cache in some way

Classes in org.infinispan.commands.write that implement VisitableCommand
 class AbstractDataWriteCommand
          Stuff common to WriteCommands
 class ApplyDeltaCommand
 class ClearCommand
 class EvictCommand
 class InvalidateCommand
          Removes an entry from memory.
 class InvalidateL1Command
          Invalidates an entry in a L1 cache (used with DIST mode)
 class PutKeyValueCommand
          Implements functionality defined by Map.put(Object, Object)
 class PutMapCommand
 class RemoveCommand
 class ReplaceCommand
 class VersionedPutKeyValueCommand
          A form of PutKeyValueCommand that also applies a version to the entry created.

Uses of VisitableCommand in org.infinispan.context

Methods in org.infinispan.context with parameters of type VisitableCommand
 InvocationContext InvocationContextContainer.createRemoteInvocationContextForCommand(VisitableCommand cacheCommand, Address origin)
          As InvocationContextContainer.createRemoteInvocationContext(org.infinispan.remoting.transport.Address), but returning the flags to the context from the Command if any Flag was set.
 InvocationContext AbstractInvocationContextContainer.createRemoteInvocationContextForCommand(VisitableCommand cacheCommand, Address origin)

Uses of VisitableCommand in org.infinispan.interceptors

Fields in org.infinispan.interceptors with type parameters of type VisitableCommand
protected  Map<GlobalTransaction,List<VisitableCommand>> InvalidationInterceptor.txMods

Methods in org.infinispan.interceptors with parameters of type VisitableCommand
 Object InvocationContextInterceptor.handleDefault(InvocationContext ctx, VisitableCommand command)
 Object CallInterceptor.handleDefault(InvocationContext ctx, VisitableCommand command)
protected  Object BatchingInterceptor.handleDefault(InvocationContext ctx, VisitableCommand command)
          Simply check if there is an ongoing tx.
 Object InterceptorChain.invoke(InvocationContext ctx, VisitableCommand command)
          Walks the command through the interceptor chain.

Uses of VisitableCommand in org.infinispan.interceptors.base

Methods in org.infinispan.interceptors.base with parameters of type VisitableCommand
protected abstract  void PrePostProcessingCommandInterceptor.doAfterCall(InvocationContext ctx, VisitableCommand command)
          Callback that is invoked after every handleXXX() method defined above.
protected  boolean PrePostProcessingCommandInterceptor.doBeforeCall(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.

Uses of VisitableCommand in org.infinispan.statetransfer

Methods in org.infinispan.statetransfer with parameters of type VisitableCommand
 void StateTransferLockImpl.waitForStateTransferToEnd(InvocationContext ctx, VisitableCommand command, int newCacheViewId)
 void StateTransferLock.waitForStateTransferToEnd(InvocationContext ctx, VisitableCommand command, int newCacheViewId)
          Release the state lock temporarily in order to allow a pending state transfer to start.


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