public final class ControlRequest extends Request
Request in order to
decouple request creation and argument validation from details of RPC data
marshalling.Null argument values are legal and indicate that this argument slot needs default value processing (either on the client or the server side, depending on the command).
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
COMMAND_DUMP_COVERAGE
Request to dump runtime coverage data by the server JVM.
|
static String |
COMMAND_GET_COVERAGE
Request to get (download) runtime coverage data.
|
static String |
COMMAND_RESET_COVERAGE
Request to dump runtime coverage data by the server JVM.
|
static String |
COMMAND_TEST_PING
Ping command for internal testing.
|
static int |
ID_DUMP_COVERAGE |
static int |
ID_GET_COVERAGE |
static int |
ID_RESET_COVERAGE |
static int |
ID_TEST_PING |
public static final String COMMAND_TEST_PING
public static final int ID_TEST_PING
public static final String COMMAND_GET_COVERAGE
public static final int ID_GET_COVERAGE
public static final String COMMAND_DUMP_COVERAGE
public static final int ID_DUMP_COVERAGE
public static final String COMMAND_RESET_COVERAGE
public static final int ID_RESET_COVERAGE
public static ControlRequest create(String name, String[] args)
name - [may not be null]args - [null is equivalent to an empty array]EMMARuntimeException - if 'name' is not a valid control requestEMMARuntimeException - if 'args' contains more arguments than allowed
for a given control requestpublic final String getName()
Copyright © 2018. All rights reserved.