Class ActivateCommand
- java.lang.Object
-
- org.apache.ignite.internal.management.ActivateCommand
-
@Deprecated public class ActivateCommand extends Object implements LocalCommand<NoArg,NoArg>
Deprecated.
-
-
Field Summary
-
Fields inherited from interface org.apache.ignite.internal.management.api.Command
CMD_NAME_POSTFIX
-
-
Constructor Summary
Constructors Constructor Description ActivateCommand()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Class<NoArg>argClass()Deprecated.StringdeprecationMessage(NoArg arg)Deprecated.Stringdescription()Deprecated.Command description.NoArgexecute(@Nullable GridClient cli, @Nullable IgniteClient client, @Nullable Ignite ignite, NoArg arg, Consumer<String> printer)Deprecated.Executes command logic.-
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
-
-
-
-
Method Detail
-
description
public String description()
Deprecated.Command description.- Specified by:
descriptionin interfaceCommand<NoArg,NoArg>
-
deprecationMessage
public String deprecationMessage(NoArg arg)
Deprecated.- Specified by:
deprecationMessagein interfaceCommand<NoArg,NoArg>- Parameters:
arg- Command argument.- Returns:
- Deprecation message if command on the way to being decomissioned.
-
execute
public NoArg execute(@Nullable @Nullable GridClient cli, @Nullable @Nullable IgniteClient client, @Nullable @Nullable Ignite ignite, NoArg arg, Consumer<String> printer) throws GridClientException
Deprecated.Executes command logic. Commands invoked in two different environments:- CLI utility using
GridClientconnection to interact with cluster. - Inside
Ignitenode therefore local node can be used to interact with cluster.
GridClientprotocol is obsolete and can be removed in future releases.- Specified by:
executein interfaceLocalCommand<NoArg,NoArg>- Parameters:
cli- Optional grid client instance.ignite- Optional ignite node.arg- Command argument.printer- Results printer.- Returns:
- Command result.
- Throws:
GridClientException
- CLI utility using
-
-