public class Measure
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
EVENT_TIME |
protected static java.lang.String |
MEASURE_ACTIVE_THREADS_NBR |
protected static java.lang.String |
MEASURE_CONTENT_NBR |
protected static java.lang.String |
MEASURE_DAEMON_THREADS_NBR |
protected static java.lang.String |
MEASURE_DATA_NBR |
protected static java.lang.String |
MEASURE_DBDATA_NBR |
protected static java.lang.String |
MEASURE_DOC_NBR |
protected static java.lang.String |
MEASURE_GUEST_SESSION_NBR |
protected static java.lang.String |
MEASURE_INTERRUPTED_THREADS_NBR |
protected static java.lang.String |
MEASURE_LOGGED_SESSION_NBR |
protected static java.lang.String |
MEASURE_MBR_NBR |
protected static java.lang.String |
MEASURE_MEM_FREE |
protected static java.lang.String |
MEASURE_MEM_MAX |
protected static java.lang.String |
MEASURE_MEM_TOTAL |
protected static java.lang.String |
MEASURE_REQUEST_NBR |
protected static java.lang.String |
MEASURE_ROBOT_SESSION_NBR |
protected static java.lang.String |
MEASURE_THREADS_NBR |
protected static java.lang.String |
MEASURE_UGC_NBR |
static java.lang.String |
NAME |
static java.lang.String |
REVISION |
Constructor and Description |
---|
Measure(MonitoringManager mm)
Create a new measure with current system values
|
Measure(MonitoringManager mm,
org.xml.sax.Attributes atts)
Create a new measure by reading given XML attributes
|
Measure(MonitoringManager mm,
long time,
java.util.Random rand,
Measure baseMeasure)
Create a new measure with random values
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
long |
getTime() |
java.lang.String |
getXmlString() |
public static final java.lang.String REVISION
public static final java.lang.String NAME
protected static final java.lang.String MEASURE_MEM_FREE
protected static final java.lang.String MEASURE_MEM_TOTAL
protected static final java.lang.String MEASURE_MEM_MAX
protected static final java.lang.String MEASURE_DATA_NBR
protected static final java.lang.String MEASURE_DBDATA_NBR
protected static final java.lang.String MEASURE_UGC_NBR
protected static final java.lang.String MEASURE_CONTENT_NBR
protected static final java.lang.String MEASURE_DOC_NBR
protected static final java.lang.String MEASURE_MBR_NBR
protected static final java.lang.String MEASURE_REQUEST_NBR
protected static final java.lang.String MEASURE_LOGGED_SESSION_NBR
protected static final java.lang.String MEASURE_GUEST_SESSION_NBR
protected static final java.lang.String MEASURE_ROBOT_SESSION_NBR
protected static final java.lang.String MEASURE_THREADS_NBR
protected static final java.lang.String MEASURE_ACTIVE_THREADS_NBR
protected static final java.lang.String MEASURE_DAEMON_THREADS_NBR
protected static final java.lang.String MEASURE_INTERRUPTED_THREADS_NBR
protected static final java.lang.String EVENT_TIME
public Measure(MonitoringManager mm)
mm
- the MonitoringManager instancepublic Measure(MonitoringManager mm, org.xml.sax.Attributes atts)
mm
- the MonitoringManager instanceatts
- the attributes of the XML elementpublic Measure(MonitoringManager mm, long time, java.util.Random rand, Measure baseMeasure)
mm
- the MonitoringManager instancetime
- the time of this measurerand
- a Random seed to usebaseMeasure
- the base measure around which random value will be generatedCopyright © 2001-2017 Jalios SA. All Rights Reserved.