Package org.infinispan.commands

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

See: Description

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
-->

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