public class CacheCommands extends AbstractCommand<CacheSubcommands>
| Modifier and Type | Field and Description |
|---|---|
static String |
EMPTY_GROUP_NAME
Empty group name.
|
protected static String |
NODE_ID |
protected static String |
OP_NODE_ID |
verbose| Constructor and Description |
|---|
CacheCommands() |
| Modifier and Type | Method and Description |
|---|---|
CacheSubcommands |
arg() |
String |
confirmationPrompt() |
Object |
execute(GridClientConfiguration clientCfg,
Logger logger)
Actual command execution.
|
String |
name() |
void |
parseArguments(CommandArgIterator argIter)
Parse command-specific arguments.
|
void |
prepareConfirmation(GridClientConfiguration clientCfg)
Prepares confirmation for the command.
|
void |
printUsage(Logger logger)
Print info for user about command (parameters, use cases and so on).
|
protected static void |
usageCache(Logger logger,
CacheSubcommands cmd,
String description,
Map<String,String> paramsDesc,
String... args)
Print cache command usage with default indention.
|
executeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexperimental, experimentalEnabled, extendToLen, startClient, startClientBeforeNodeStart, usage, usage, usageParamspublic static final String EMPTY_GROUP_NAME
protected static final String NODE_ID
protected static final String OP_NODE_ID
public void printUsage(Logger logger)
logger - Logger to use.public Object execute(GridClientConfiguration clientCfg, Logger logger) throws Exception
clientCfg - Thin client configuration if connection to cluster is necessary.logger - Logger to use.Exception - If error occur.public void parseArguments(CommandArgIterator argIter)
argIter - Argument iterator.protected static void usageCache(Logger logger, CacheSubcommands cmd, String description, Map<String,String> paramsDesc, String... args)
logger - Logger to use.cmd - Cache command.description - Command description.paramsDesc - Parameter desciptors.args - Cache command arguments.public void prepareConfirmation(GridClientConfiguration clientCfg) throws Exception
clientCfg - Thin client configuration.Exception - If error occur.public String confirmationPrompt()
public CacheSubcommands arg()
Command.parseArguments(CommandArgIterator) call.public String name()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.14-p2 Release Date : January 19 2026