Package com.jalios.jcms.monitoring
Class Measure
java.lang.Object
com.jalios.jcms.monitoring.Measure
Event that store all the values which are taken for a monitoring measures.
- Since:
- jcms-5.7
- Author:
- Olivier Jaquemet
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringstatic final String -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new measure with current system valuesMeasure(MonitoringManager mm, long time, Random rand, Measure baseMeasure) Create a new measure with random valuesMeasure(MonitoringManager mm, Attributes atts) Create a new measure by reading given XML attributes -
Method Summary
-
Field Details
-
NAME
- See Also:
-
MEASURE_MEM_FREE
- See Also:
-
MEASURE_MEM_TOTAL
- See Also:
-
MEASURE_MEM_MAX
- See Also:
-
MEASURE_DATA_NBR
- See Also:
-
MEASURE_DBDATA_NBR
- See Also:
-
MEASURE_UGC_NBR
- See Also:
-
MEASURE_CONTENT_NBR
- See Also:
-
MEASURE_DOC_NBR
- See Also:
-
MEASURE_MBR_NBR
- See Also:
-
MEASURE_REQUEST_NBR
- See Also:
-
MEASURE_LOGGED_SESSION_NBR
- See Also:
-
MEASURE_GUEST_SESSION_NBR
- See Also:
-
MEASURE_ROBOT_SESSION_NBR
- See Also:
-
MEASURE_THREADS_NBR
- See Also:
-
MEASURE_ACTIVE_THREADS_NBR
- See Also:
-
MEASURE_DAEMON_THREADS_NBR
- See Also:
-
MEASURE_INTERRUPTED_THREADS_NBR
- See Also:
-
EVENT_TIME
- See Also:
-
-
Constructor Details
-
Measure
Create a new measure with current system values- Parameters:
mm- the MonitoringManager instance- Since:
- jcms-5.7
-
Measure
Create a new measure by reading given XML attributes- Parameters:
mm- the MonitoringManager instanceatts- the attributes of the XML element- Since:
- jcms-5.7
-
Measure
Create a new measure with random values- Parameters:
mm- the MonitoringManager instancetime- the time of this measurerand- a Random seed to usebaseMeasure- the base measure around which random value will be generated- Since:
- jcms-5.7
-
-
Method Details
-
getName
-
getXmlString
-
getTime
public long getTime()
-