public abstract class RT extends Object implements IAppConstants
r(boolean[][], String, long);().controller
is employed (default), multiple RT instances will conflict on the same controller
TCP port.RTController,
RTControllerClientProxy| 限定符和类型 | 字段和说明 |
|---|---|
static String |
DEFAULT_RT_CONTROL_HOST |
static int |
DEFAULT_RT_CONTROL_PORT |
static long |
DEFAULT_RT_FILELOCK_MAX_TIME |
static int |
DEFAULT_RT_FILELOCK_PORTBASE |
static int |
DEFAULT_RT_FILELOCK_RETRIES |
static String |
PREFIX_RT_CONTROL |
static String |
PREFIX_RT_FILELOCK |
static String |
PROPERTY_RT_CONTROL_FLAG |
static String |
PROPERTY_RT_CONTROL_HOST |
static String |
PROPERTY_RT_CONTROL_PORT |
static String |
PROPERTY_RT_FILELOCK_FLAG |
static String |
PROPERTY_RT_FILELOCK_MAX_TIME |
static String |
PROPERTY_RT_FILELOCK_PORTBASE |
static String |
PROPERTY_RT_FILELOCK_RETRIES |
APP_COPYRIGHT, APP_NAME, APP_NAME_LC, APP_PACKAGE, APP_THROWABLE_BUILD_ID, APP_USAGE_BUILD_ID, APP_USAGE_PREFIX, APP_VERBOSE_BUILD_ID, DATA_FORMAT_VERSION| 限定符和类型 | 方法和说明 |
|---|---|
static void |
dumpCoverageData(File outFile,
boolean stopDataCollection)
已过时。
use
CtlProcessor instead |
static void |
dumpCoverageData(File outFile,
boolean merge,
boolean stopDataCollection)
已过时。
use
CtlProcessor instead |
static IProperties |
getAppProperties()
This synchronized getter is used by the run processor to get a handle
to the same application properties as being used by the runtime.
|
static ICoverageData |
getCoverageData()
This synchronized getter is used by the run processor to get a handle
to the same coverage data as being used by the runtime.
|
static void |
r(boolean[][] coverage,
String classVMName,
long stamp)
This method is what the instrumented bytecode hooks into in order to register
itself with our runtime (this happens only once per class lifetime in the
JVM, usually in the clinit method).
|
static void |
reset(RTSettings.SetActions actions)
This method is internal to our framework and should not be called by external
tools.
|
public static final int DEFAULT_RT_FILELOCK_PORTBASE
public static final long DEFAULT_RT_FILELOCK_MAX_TIME
public static final int DEFAULT_RT_FILELOCK_RETRIES
public static final int DEFAULT_RT_CONTROL_PORT
public static void reset(RTSettings.SetActions actions)
public static void r(boolean[][] coverage,
String classVMName,
long stamp)
coverage - basic block coverage map created by an instrumented class [not null]classVMName - class name (JVM format), used as the key of this coverage entrystamp - class bytecode signature [used to detect coverage data/metadata inconsistencies]public static ICoverageData getCoverageData()
public static IProperties getAppProperties()
public static void dumpCoverageData(File outFile, boolean merge, boolean stopDataCollection)
CtlProcessor insteadoutFile - output file handle [if null, the default as determined by app properties will be used]merge - output merge flagstopDataCollection - [if true, no more coverage data will be collected and this method
will no-op on subsequent invocations]public static void dumpCoverageData(File outFile, boolean stopDataCollection)
CtlProcessor insteaddumpCoverageData(outFile, app_default_for_merge_flag, stopDataCollection)Copyright © 2018. All rights reserved.