|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
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. |
VisitableCommand | A type of command that can accept Visitor s, such as CommandInterceptor s. |
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. |
CommandsFactoryImpl | |
RemoteCommandsFactory | Specifically used to create un-initialized ReplicableCommand s from a byte stream. |
RemoveCacheCommand | Command to stop a cache and remove all its contents from both memory and any backing store. |
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.
VisitableCommand
, represents commands that can be visited using the visitor pattern.
Most commands that relate to public Cache
API methods tend to be VisitableCommand
s, and hence the
importance of this interface.
The Visitor
interface is capable of visiting VisitableCommand
s, 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.
|
--> |