public class PersistenceCommand extends Object implements Command<PersistenceArguments>
| Constructor and Description |
|---|
PersistenceCommand() |
| Modifier and Type | Method and Description |
|---|---|
PersistenceArguments |
arg() |
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).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfirmationPrompt, execute, experimental, extendToLen, prepareConfirmation, startClient, startClientBeforeNodeStart, usage, usage, usageParamspublic Object execute(GridClientConfiguration clientCfg, Logger logger) throws Exception
execute in interface Command<PersistenceArguments>clientCfg - Thin client configuration if connection to cluster is necessary.logger - Logger to use.Exception - If error occur.public PersistenceArguments arg()
arg in interface Command<PersistenceArguments>Command.parseArguments(CommandArgIterator) call.public void printUsage(Logger logger)
printUsage in interface Command<PersistenceArguments>logger - Logger to use.public void parseArguments(CommandArgIterator argIter)
parseArguments in interface Command<PersistenceArguments>argIter - Argument iterator.public String name()
name in interface Command<PersistenceArguments>
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.13.0 Release Date : April 20 2022