public interface ComputeCommand<A extends IgniteDataTransferObject,R> extends Command<A,R>
CMD_NAME_POSTFIX| Modifier and Type | Method and Description |
|---|---|
default @Nullable Collection<GridClientNode> |
nodes(Collection<GridClientNode> nodes,
A arg) |
default void |
printResult(A arg,
R res,
Consumer<String> printer)
Prints command result to the user.
|
Class<? extends ComputeTask<VisorTaskArgument<A>,R>> |
taskClass() |
argClass, confirmationPrompt, deprecationMessage, descriptionClass<? extends ComputeTask<VisorTaskArgument<A>,R>> taskClass()
default void printResult(A arg, R res, Consumer<String> printer)
arg - Argument.res - Result.printer - Implementation specific printer.@Nullable default @Nullable Collection<GridClientNode> nodes(Collection<GridClientNode> nodes, A arg)
nodes - Live nodes.arg - Argument.null means default node must be used.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023