public class DiagnosticCommand extends Object implements Command<DiagnosticSubCommand>
| Constructor and Description |
|---|
DiagnosticCommand() |
| Modifier and Type | Method and Description |
|---|---|
DiagnosticSubCommand |
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, experimental, experimentalEnabled, extendToLen, prepareConfirmation, startClient, usage, usage, usageParamspublic Object execute(GridClientConfiguration clientCfg, Logger logger) throws Exception
execute in interface Command<DiagnosticSubCommand>clientCfg - Thin client configuration if connection to cluster is necessary.logger - Logger to use.Exception - If error occur.public DiagnosticSubCommand arg()
arg in interface Command<DiagnosticSubCommand>Command.parseArguments(CommandArgIterator) call.public void parseArguments(CommandArgIterator argIter)
parseArguments in interface Command<DiagnosticSubCommand>argIter - Argument iterator.public String name()
name in interface Command<DiagnosticSubCommand>public void printUsage(Logger logger)
printUsage in interface Command<DiagnosticSubCommand>logger - Logger to use.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020