public class StateCommand extends Object implements LocalCommand<NoArg,GridTuple3<UUID,String,ClusterState>>
CMD_NAME_POSTFIX| Constructor and Description |
|---|
StateCommand() |
| Modifier and Type | Method and Description |
|---|---|
Class<NoArg> |
argClass() |
String |
description()
Command description.
|
GridTuple3<UUID,String,ClusterState> |
execute(@Nullable GridClient cli,
@Nullable Ignite ignite,
NoArg arg,
Consumer<String> printer)
Executes command logic.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfirmationPrompt, deprecationMessagepublic String description()
description in interface Command<NoArg,GridTuple3<UUID,String,ClusterState>>public Class<NoArg> argClass()
argClass in interface Command<NoArg,GridTuple3<UUID,String,ClusterState>>public GridTuple3<UUID,String,ClusterState> execute(@Nullable @Nullable GridClient cli, @Nullable @Nullable Ignite ignite, NoArg arg, Consumer<String> printer) throws GridClientException
GridClient connection to interact with cluster.Ignite node therefore local node can be used to interact with cluster.GridClient protocol is obsolete and can be removed in future releases.execute in interface LocalCommand<NoArg,GridTuple3<UUID,String,ClusterState>>cli - Optional grid client instance.ignite - Optional ignite node.arg - Command argument.printer - Results printer.GridClientException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023