Infinispan Distribution 5.2.6.Final-redhat-2

Package org.infinispan.commands

Commands that operate on the cache, either locally or remotely.

See:
          Description

Interface Summary
CancellableCommand CancellableCommand is a command whose execution in remote VM can be canceled (if needed)
CancellationService CancellationService manages association of Thread executing CancellableCommand in a remote VM and if needed cancels command execution
CommandsFactory A factory to build commands, initializing and injecting dependencies accordingly.
DataCommand Commands of this type manipulate data in the cache.
FlagAffectedCommand Commands affected by Flags should carry them over to the remote nodes.
LocalCommand This is a marker interface to indicate that such commands will never be replicated and hence will not return any valid command IDs.
ReplicableCommand The core of the command-based cache framework.
TopologyAffectedCommand Some of the commands sent over the wire can only be honored by the receiver if the topology of the cluster at delivery time is still 'compatible' with the topology in place at send time (eg.
VisitableCommand A type of command that can accept Visitors, such as CommandInterceptors.
Visitor  
 

Class Summary
AbstractFlagAffectedCommand Base class for those commands that can carry flags.
AbstractVisitor An abstract implementation of a Visitor that delegates all visit calls to a default handler which can be overridden.
CancelCommand Command to cancel commands executing in remote VM
CancellationServiceImpl CancellationServiceImpl is a default implementation of CancellationService
CommandsFactoryImpl  
CreateCacheCommand Command to create/start a cache on a subset of Infinispan cluster nodes
RemoteCommandsFactory Specifically used to create un-initialized ReplicableCommands from a byte stream.
RemoveCacheCommand Command to stop a cache and remove all its contents from both memory and any backing store.
 

Package org.infinispan.commands Description

Commands that operate on the cache, either locally or remotely. This package contains the entire command object model including interfaces and abstract classes. Your starting point is probably ReplicableCommand, which represents a command that can be used in RPC calls.

A sub-interface, VisitableCommand, represents commands that can be visited using the visitor pattern. Most commands that relate to public Cache API methods tend to be VisitableCommands, and hence the importance of this interface.

The Visitor interface is capable of visiting VisitableCommands, and a useful abstract implementation of Visitor is CommandInterceptor, which allows you to create interceptors that intercept command invocations adding aspects of behavior to a given invocation.

Since:
4.0
Author:
Manik Surtani

Infinispan Distribution 5.2.6.Final-redhat-2

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