public class ClusterStateChangeCommand extends AbstractCommand<ClusterState>
| Modifier and Type | Field and Description |
|---|---|
static String |
FORCE_COMMAND
Flag of forced cluster deactivation.
|
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).
|
executeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexperimental, experimentalEnabled, extendToLen, startClient, startClientBeforeNodeStart, usage, usage, usageParamspublic static final String FORCE_COMMAND
public 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. 8.9.28 Release Date : December 12 2025