Class AbstractSnapshotCommand<A extends IgniteDataTransferObject,R>
- java.lang.Object
-
- org.apache.ignite.internal.management.snapshot.AbstractSnapshotCommand<A,R>
-
- All Implemented Interfaces:
Command<A,R>,ComputeCommand<A,R>
- Direct Known Subclasses:
SnapshotCancelCommand,SnapshotCheckCommand,SnapshotCreateCommand,SnapshotRestoreCommand,SnapshotStatusCommand
public abstract class AbstractSnapshotCommand<A extends IgniteDataTransferObject,R> extends Object implements ComputeCommand<A,R>
-
-
Field Summary
-
Fields inherited from interface org.apache.ignite.internal.management.api.Command
CMD_NAME_POSTFIX
-
-
Constructor Summary
Constructors Constructor Description AbstractSnapshotCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprintResult(A arg, R res, Consumer<String> printer)Prints command result to the user.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.ignite.internal.management.api.Command
argClass, confirmationPrompt, deprecationMessage, description
-
Methods inherited from interface org.apache.ignite.internal.management.api.ComputeCommand
handleException, nodes, taskClass
-
-
-
-
Method Detail
-
printResult
public void printResult(A arg, R res, Consumer<String> printer)
Prints command result to the user.- Specified by:
printResultin interfaceComputeCommand<A extends IgniteDataTransferObject,R>- Parameters:
arg- Argument.res- Result.printer- Implementation specific printer.
-
-