Book Image

Infinispan data grid platform definitive guide

Book Image

Infinispan data grid platform definitive guide

Overview of this book

Table of Contents (20 chapters)
Infinispan Data Grid Platform Definitive Guide
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Introducing the command line interface (CLI)


In combination with the server module, Infinispan provides a command line interface (CLI), convenient for performing many of the functions that are available in the standard API. Using the command line interface, you can issue many commands such as start caches under a specific CacheManager to manipulate data within, put, remove and evict data, manipulate transactions, cross site backups, and stop caches.

The CLI is based on Another Extendable SHell (Æsh), a java library that provides an API to developers to create their own command-based console and handle console input. It also offers additional features, such as tab completion for all commands, argument values and options, keyboard shortcuts to navigate, Emacs and VI editing mode, undo and redo, and search the history of commands.

Starting the command line interface

Before you execute the command line interface, make sure you have the Infinispan server installation up and running, or if you are...