Class CacheIdleVerifyCommand
- java.lang.Object
-
- org.apache.ignite.internal.management.api.CommandRegistryImpl<CacheIdleVerifyCommandArg,IdleVerifyResultV2>
-
- org.apache.ignite.internal.management.cache.CacheIdleVerifyCommand
-
- All Implemented Interfaces:
Command<CacheIdleVerifyCommandArg,IdleVerifyResultV2>,CommandsRegistry<CacheIdleVerifyCommandArg,IdleVerifyResultV2>,ComputeCommand<CacheIdleVerifyCommandArg,IdleVerifyResultV2>
public class CacheIdleVerifyCommand extends CommandRegistryImpl<CacheIdleVerifyCommandArg,IdleVerifyResultV2> implements ComputeCommand<CacheIdleVerifyCommandArg,IdleVerifyResultV2>
Checks consistency of primary and backup partitions assuming no concurrent updates are happening in the cluster.
-
-
Field Summary
Fields Modifier and Type Field Description static StringIDLE_VERIFY_FILE_PREFIX-
Fields inherited from interface org.apache.ignite.internal.management.api.Command
CMD_NAME_POSTFIX
-
-
Constructor Summary
Constructors Constructor Description CacheIdleVerifyCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<CacheIdleVerifyCommandArg>argClass()Stringdescription()Command description.voidprintResult(CacheIdleVerifyCommandArg arg, IdleVerifyResultV2 res, Consumer<String> printer)Prints command result to the user.Class<IdleVerifyTaskV2>taskClass()-
Methods inherited from class org.apache.ignite.internal.management.api.CommandRegistryImpl
command, commands, register
-
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
-
-
-
-
Field Detail
-
IDLE_VERIFY_FILE_PREFIX
public static final String IDLE_VERIFY_FILE_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
description
public String description()
Command description.- Specified by:
descriptionin interfaceCommand<CacheIdleVerifyCommandArg,IdleVerifyResultV2>- Specified by:
descriptionin interfaceCommandsRegistry<CacheIdleVerifyCommandArg,IdleVerifyResultV2>
-
argClass
public Class<CacheIdleVerifyCommandArg> argClass()
- Specified by:
argClassin interfaceCommand<CacheIdleVerifyCommandArg,IdleVerifyResultV2>- Specified by:
argClassin interfaceCommandsRegistry<CacheIdleVerifyCommandArg,IdleVerifyResultV2>- Returns:
- Arguments class.
-
taskClass
public Class<IdleVerifyTaskV2> taskClass()
- Specified by:
taskClassin interfaceComputeCommand<CacheIdleVerifyCommandArg,IdleVerifyResultV2>- Returns:
- Task class.
-
printResult
public void printResult(CacheIdleVerifyCommandArg arg, IdleVerifyResultV2 res, Consumer<String> printer)
Prints command result to the user.- Specified by:
printResultin interfaceComputeCommand<CacheIdleVerifyCommandArg,IdleVerifyResultV2>- Parameters:
arg- Argument.res- Result.printer- Implementation specific printer.
-
-