public class CacheClear extends AbstractCommand<ClearCachesTaskArg>
| Modifier and Type | Field and Description |
|---|---|
static String |
CACHES
Comma-separated list of cache names.
|
static String |
CLEAR_MSG
Message that contains cleared caches.
|
static String |
CONFIRM_MSG
Confirmation message format.
|
static String |
SKIP_CLEAR_MSG
Message that contains not-cleared caches (they don't exist).
|
verbose| Constructor and Description |
|---|
CacheClear() |
| Modifier and Type | Method and Description |
|---|---|
ClearCachesTaskArg |
arg() |
String |
confirmationPrompt() |
Object |
execute(GridClientConfiguration clientCfg,
Logger logger)
Actual command execution.
|
String |
name() |
void |
parseArguments(CommandArgIterator argIter)
Parse command-specific arguments.
|
void |
printUsage(Logger logger)
Print info for user about command (parameters, use cases and so on).
|
executeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexperimental, experimentalEnabled, extendToLen, prepareConfirmation, startClient, startClientBeforeNodeStart, usage, usage, usageParamspublic static final String CLEAR_MSG
public static final String SKIP_CLEAR_MSG
public static final String CONFIRM_MSG
public static final String CACHES
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 String confirmationPrompt()
public ClearCachesTaskArg arg()
Command.parseArguments(CommandArgIterator) call.public void printUsage(Logger logger)
logger - Logger to use.public void parseArguments(CommandArgIterator argIter)
argIter - Argument iterator.public String name()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.28 Release Date : December 12 2025