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).
|
execute, usageCacheclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexperimental, 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.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. 2.13.0 Release Date : April 20 2022