public class MetricCommand extends Object implements Command<VisorMetricTaskArg>
| Constructor and Description |
|---|
MetricCommand() |
| Modifier and Type | Method and Description |
|---|---|
VisorMetricTaskArg |
arg() |
Object |
execute(GridClientConfiguration clientCfg,
Logger log)
Actual command execution.
|
String |
name() |
void |
parseArguments(CommandArgIterator argIter)
Parse command-specific arguments.
|
void |
printUsage(Logger log)
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, experimentalEnabled, extendToLen, prepareConfirmation, startClient, startClientBeforeNodeStart, usage, usage, usageParamspublic Object execute(GridClientConfiguration clientCfg, Logger log) throws Exception
execute in interface Command<VisorMetricTaskArg>clientCfg - Thin client configuration if connection to cluster is necessary.log - Logger to use.Exception - If error occur.public void parseArguments(CommandArgIterator argIter)
parseArguments in interface Command<VisorMetricTaskArg>argIter - Argument iterator.public VisorMetricTaskArg arg()
arg in interface Command<VisorMetricTaskArg>Command.parseArguments(CommandArgIterator) call.public void printUsage(Logger log)
printUsage in interface Command<VisorMetricTaskArg>log - Logger to use.public String name()
name in interface Command<VisorMetricTaskArg>
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.14-p2 Release Date : January 19 2026