|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FrameworkMeasurement
| Field Summary | |
|---|---|
static int |
BEGIN_SHUTDOWN_TIME
Constant, which should be used in calls to trigger method. |
static int |
END_VM_STARTUP_TIME
Constant, which should be used in calls to trigger method. |
static java.lang.String |
FLASH_MEMORY_USAGE_MEASUREMENT_PROPERTY
Implementions of FrameworkMeasurement interface are supposed to use this constant in trigger method. |
static java.lang.String |
HEAP_MEMORY_USAGE_MEASUREMENT_PROPERTY
Implementions of FrameworkMeasurement interface are supposed to use this constant in trigger method. |
static java.lang.String |
HIERARCHICAL_VIEW_FLASH_MEMORY_USAGE_MEASUREMENT_PROPERTY
Implementions of FrameworkMeasurement interface are supposed to use this constant in trigger method. |
static int |
MEMORY
Constant, which should be used in calls to trigger method. |
static java.lang.String |
MEMORY_USAGE_MEASUREMENT_PROPERTY
Implementions of FrameworkMeasurement interface are supposed to use this constant in trigger method. |
static java.lang.String |
PROCESS_MEMORY_USAGE_MEASUREMENT_PROPERTY
Implementions of FrameworkMeasurement interface are supposed to use this constant in trigger method. |
static java.lang.String |
THREAD_COUNT_MEASUREMENT_PROPERTY
Implementions of FrameworkMeasurement interface are supposed to use this constant in trigger method. |
| Method Summary | |
|---|---|
void |
log(java.lang.String measurement,
boolean display)
Provides means for framework and bundles to log measurements. |
void |
trigger(int type,
java.lang.String module)
Triggers the beginning of a specific event. |
| Field Detail |
|---|
static final int END_VM_STARTUP_TIME
END_VM_STARTUP_TIME indicates that the JVM has just started
successfully and has entered in main method of the application.
static final int BEGIN_SHUTDOWN_TIME
BEGIN_SHUTDOWN_TIME indicates that System.exit() call is just
going to be performed.
static final int MEMORY
MEMORY indicates that memory measurements should be performed.
static final java.lang.String HEAP_MEMORY_USAGE_MEASUREMENT_PROPERTY
HEAP_MEMORY_USAGE_MEASUREMENT_PROPERTY
enables heap memory checks.
static final java.lang.String PROCESS_MEMORY_USAGE_MEASUREMENT_PROPERTY
PROCESS_MEMORY_USAGE_MEASUREMENT_PROPERTY
enables process memory checks.
static final java.lang.String FLASH_MEMORY_USAGE_MEASUREMENT_PROPERTY
FLASH_MEMORY_USAGE_MEASUREMENT_PROPERTY
enables flash memory checks.
static final java.lang.String MEMORY_USAGE_MEASUREMENT_PROPERTY
MEMORY_USAGE_MEASUREMENT_PROPERTY
enables heap, process and flash memory checks.
static final java.lang.String THREAD_COUNT_MEASUREMENT_PROPERTY
THREAD_COUNT_MEASUREMENT_PROPERTY
enables threads' count checks.
static final java.lang.String HIERARCHICAL_VIEW_FLASH_MEMORY_USAGE_MEASUREMENT_PROPERTY
HIERARCHICAL_VIEW_FLASH_MEMORY_USAGE_MEASUREMENT_PROPERTY
enables flash memory checks with hierarchical reports for each subfolder
of the main storage folder.
| Method Detail |
|---|
void log(java.lang.String measurement,
boolean display)
measurement - - the measurement to logdisplay - - indicates whether the message should be displayed in native GUI
void trigger(int type,
java.lang.String module)
throws java.lang.IllegalArgumentException
type - - the type of the triggered eventmodule - - the module, which triggers the event
java.lang.IllegalArgumentException - is thrown if unsupported type is specified
|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||