Class CacheResetLostPartitionsCommand
- java.lang.Object
-
- org.apache.ignite.internal.management.cache.CacheResetLostPartitionsCommand
-
- All Implemented Interfaces:
Command<CacheResetLostPartitionsCommandArg,CacheResetLostPartitionsTaskResult>,ComputeCommand<CacheResetLostPartitionsCommandArg,CacheResetLostPartitionsTaskResult>
public class CacheResetLostPartitionsCommand extends Object implements ComputeCommand<CacheResetLostPartitionsCommandArg,CacheResetLostPartitionsTaskResult>
Reset lost partitions.
-
-
Field Summary
-
Fields inherited from interface org.apache.ignite.internal.management.api.Command
CMD_NAME_POSTFIX
-
-
Constructor Summary
Constructors Constructor Description CacheResetLostPartitionsCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<CacheResetLostPartitionsCommandArg>argClass()Stringdescription()Command description.voidprintResult(CacheResetLostPartitionsCommandArg arg, CacheResetLostPartitionsTaskResult res, Consumer<String> printer)Prints command result to the user.Class<CacheResetLostPartitionsTask>taskClass()-
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
confirmationPrompt, deprecationMessage
-
Methods inherited from interface org.apache.ignite.internal.management.api.ComputeCommand
handleException, nodes
-
-
-
-
Method Detail
-
description
public String description()
Command description.- Specified by:
descriptionin interfaceCommand<CacheResetLostPartitionsCommandArg,CacheResetLostPartitionsTaskResult>
-
argClass
public Class<CacheResetLostPartitionsCommandArg> argClass()
- Specified by:
argClassin interfaceCommand<CacheResetLostPartitionsCommandArg,CacheResetLostPartitionsTaskResult>- Returns:
- Arguments class.
-
taskClass
public Class<CacheResetLostPartitionsTask> taskClass()
- Specified by:
taskClassin interfaceComputeCommand<CacheResetLostPartitionsCommandArg,CacheResetLostPartitionsTaskResult>- Returns:
- Task class.
-
printResult
public void printResult(CacheResetLostPartitionsCommandArg arg, CacheResetLostPartitionsTaskResult res, Consumer<String> printer)
Prints command result to the user.- Specified by:
printResultin interfaceComputeCommand<CacheResetLostPartitionsCommandArg,CacheResetLostPartitionsTaskResult>- Parameters:
arg- Argument.res- Result.printer- Implementation specific printer.
-
-