public class CommandHandler extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CMD_PING_INTERVAL |
protected static String |
CMD_PING_TIMEOUT |
static String |
CONFIRM_MSG |
static int |
ERR_AUTHENTICATION_FAILED |
static int |
EXIT_CODE_CONNECTION_FAILED |
static int |
EXIT_CODE_INVALID_ARGUMENTS |
static int |
EXIT_CODE_OK |
static int |
EXIT_CODE_UNEXPECTED_ERROR |
| Constructor and Description |
|---|
CommandHandler() |
| Modifier and Type | Method and Description |
|---|---|
int |
execute(List<String> rawArgs)
Parse and execute command.
|
<T> T |
getLastOperationResult()
Used for tests.
|
static void |
main(String[] args) |
protected static final String CMD_PING_INTERVAL
protected static final String CMD_PING_TIMEOUT
public static final String CONFIRM_MSG
public static final int EXIT_CODE_OK
public static final int EXIT_CODE_INVALID_ARGUMENTS
public static final int EXIT_CODE_CONNECTION_FAILED
public static final int ERR_AUTHENTICATION_FAILED
public static final int EXIT_CODE_UNEXPECTED_ERROR
public int execute(List<String> rawArgs)
rawArgs - Arguments to parse and execute.public static void main(String[] args)
args - Arguments to parse and apply.public <T> T getLastOperationResult()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.0 Release Date : May 23 2018