public class ClusterStateChangeCommand extends AbstractCommand<ClusterState>
verbose| Constructor and Description |
|---|
ClusterStateChangeCommand() |
| Modifier and Type | Method and Description |
|---|---|
ClusterState |
arg() |
String |
confirmationPrompt() |
Object |
execute(GridClientConfiguration clientCfg,
Logger log)
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 log)
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 void printUsage(Logger log)
log - Logger to use.public void prepareConfirmation(GridClientConfiguration clientCfg) throws Exception
clientCfg - Thin client configuration.Exception - If error occur.public String confirmationPrompt()
public Object execute(GridClientConfiguration clientCfg, Logger log) throws Exception
clientCfg - Thin client configuration if connection to cluster is necessary.log - Logger to use.Exception - If error occur.public void parseArguments(CommandArgIterator argIter)
argIter - Argument iterator.public ClusterState arg()
Command.parseArguments(CommandArgIterator) call.public String name()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.13.0 Release Date : April 20 2022