Class WarmUpStopCommand
- java.lang.Object
-
- org.apache.ignite.internal.management.WarmUpStopCommand
-
public class WarmUpStopCommand extends Object implements BeforeNodeStartCommand<NoArg,Boolean>
-
-
Field Summary
-
Fields inherited from interface org.apache.ignite.internal.management.api.Command
CMD_NAME_POSTFIX
-
-
Constructor Summary
Constructors Constructor Description WarmUpStopCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<NoArg>argClass()StringconfirmationPrompt(NoArg arg)Stringdescription()Command description.Booleanexecute(GridClientNodeStateBeforeStart beforeStart, NoArg arg, Consumer<String> printer)-
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
deprecationMessage
-
-
-
-
Method Detail
-
description
public String description()
Command description.- Specified by:
descriptionin interfaceCommand<NoArg,Boolean>
-
confirmationPrompt
public String confirmationPrompt(NoArg arg)
- Specified by:
confirmationPromptin interfaceCommand<NoArg,Boolean>- Parameters:
arg- Command argument.- Returns:
- Message text to show user for. If
nullit means that confirmation is not needed.
-
execute
public Boolean execute(GridClientNodeStateBeforeStart beforeStart, NoArg arg, Consumer<String> printer) throws Exception
- Specified by:
executein interfaceBeforeNodeStartCommand<NoArg,Boolean>- Parameters:
beforeStart-GridClientBeforeNodeStartclient instance.arg- Command argument.printer- Results printer.- Returns:
- Command result.
- Throws:
Exception
-
-