public class MetricCommand extends CommandRegistryImpl<MetricCommandArg,Map<String,?>> implements ComputeCommand<MetricCommandArg,Map<String,?>>
CMD_NAME_POSTFIX| Constructor and Description |
|---|
MetricCommand() |
| Modifier and Type | Method and Description |
|---|---|
Class<MetricCommandArg> |
argClass() |
String |
description()
Command description.
|
Collection<GridClientNode> |
nodes(Collection<GridClientNode> nodes,
MetricCommandArg arg) |
void |
printResult(MetricCommandArg arg,
Map<String,?> res,
Consumer<String> printer)
Prints command result to the user.
|
Class<MetricTask> |
taskClass() |
command, commands, registerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfirmationPrompt, deprecationMessagepublic String description()
description in interface Command<MetricCommandArg,Map<String,?>>description in interface CommandsRegistry<MetricCommandArg,Map<String,?>>public Class<MetricCommandArg> argClass()
argClass in interface Command<MetricCommandArg,Map<String,?>>argClass in interface CommandsRegistry<MetricCommandArg,Map<String,?>>public Class<MetricTask> taskClass()
taskClass in interface ComputeCommand<MetricCommandArg,Map<String,?>>public Collection<GridClientNode> nodes(Collection<GridClientNode> nodes, MetricCommandArg arg)
nodes in interface ComputeCommand<MetricCommandArg,Map<String,?>>nodes - Live nodes.arg - Argument.null means default node must be used.public void printResult(MetricCommandArg arg, Map<String,?> res, Consumer<String> printer)
printResult in interface ComputeCommand<MetricCommandArg,Map<String,?>>arg - Argument.res - Result.printer - Implementation specific printer.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023