public class SystemViewCommand extends AbstractCommand<VisorSystemViewTaskArg>
SystemView content printing.| Modifier and Type | Field and Description |
|---|---|
static String |
COLUMN_SEPARATOR
Column separator.
|
verbose| Constructor and Description |
|---|
SystemViewCommand() |
| Modifier and Type | Method and Description |
|---|---|
VisorSystemViewTaskArg |
arg() |
Object |
execute(GridClientConfiguration clientCfg,
Logger log)
Actual command execution.
|
String |
name() |
void |
parseArguments(CommandArgIterator argIter)
Parse command-specific arguments.
|
static void |
printTable(List<String> titles,
List<VisorSystemViewTask.SimpleType> types,
List<List<?>> data,
Logger log)
Prints specified data rows as table.
|
void |
printUsage(Logger log)
Print info for user about command (parameters, use cases and so on).
|
execute, usageCacheclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfirmationPrompt, experimental, extendToLen, prepareConfirmation, startClient, startClientBeforeNodeStart, usage, usage, usageParamspublic static final String COLUMN_SEPARATOR
public Object execute(GridClientConfiguration clientCfg, Logger log) throws Exception
clientCfg - Thin client configuration if connection to cluster is necessary.log - Logger to use.Exception - If error occur.public static void printTable(List<String> titles, List<VisorSystemViewTask.SimpleType> types, List<List<?>> data, Logger log)
titles - Titles of the table columns.types - Types of the table columns.data - Table data rows.log - Logger.public void parseArguments(CommandArgIterator argIter)
argIter - Argument iterator.public VisorSystemViewTaskArg arg()
Command.parseArguments(CommandArgIterator) call.public void printUsage(Logger log)
log - Logger to use.public String name()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.13.0 Release Date : April 20 2022