com.jalios.jcms.monitoring
Class Measure

java.lang.Object
  extended by com.jalios.jcms.monitoring.Measure

public class Measure
extends Object

Event that store all the values which are taken for a monitoring measures.

Since:
jcms-5.7
Version:
$Revision: 27867 $
Author:
Olivier Jaquemet

Field Summary
protected static String EVENT_TIME
           
protected static String MEASURE_ACTIVE_THREADS_NBR
           
protected static String MEASURE_CONTENT_NBR
           
protected static String MEASURE_DAEMON_THREADS_NBR
           
protected static String MEASURE_DATA_NBR
           
protected static String MEASURE_DBDATA_NBR
           
protected static String MEASURE_DOC_NBR
           
protected static String MEASURE_GUEST_SESSION_NBR
           
protected static String MEASURE_INTERRUPTED_THREADS_NBR
           
protected static String MEASURE_LOGGED_SESSION_NBR
           
protected static String MEASURE_MBR_NBR
           
protected static String MEASURE_MEM_FREE
           
protected static String MEASURE_MEM_MAX
           
protected static String MEASURE_MEM_TOTAL
           
protected static String MEASURE_REQUEST_NBR
           
protected static String MEASURE_ROBOT_SESSION_NBR
           
protected static String MEASURE_THREADS_NBR
           
protected static String MEASURE_UGC_NBR
           
static String NAME
           
static String REVISION
           
 
Constructor Summary
Measure(MonitoringManager mm)
          Create a new measure with current system values
Measure(MonitoringManager mm, Attributes atts)
          Create a new measure by reading given XML attributes
Measure(MonitoringManager mm, long time, Random rand, Measure baseMeasure)
          Create a new measure with random values
 
Method Summary
 String getName()
           
 String getXmlString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values

NAME

public static final String NAME
See Also:
Constant Field Values

MEASURE_MEM_FREE

protected static final String MEASURE_MEM_FREE
See Also:
Constant Field Values

MEASURE_MEM_TOTAL

protected static final String MEASURE_MEM_TOTAL
See Also:
Constant Field Values

MEASURE_MEM_MAX

protected static final String MEASURE_MEM_MAX
See Also:
Constant Field Values

MEASURE_DATA_NBR

protected static final String MEASURE_DATA_NBR
See Also:
Constant Field Values

MEASURE_DBDATA_NBR

protected static final String MEASURE_DBDATA_NBR
See Also:
Constant Field Values

MEASURE_UGC_NBR

protected static final String MEASURE_UGC_NBR
See Also:
Constant Field Values

MEASURE_CONTENT_NBR

protected static final String MEASURE_CONTENT_NBR
See Also:
Constant Field Values

MEASURE_DOC_NBR

protected static final String MEASURE_DOC_NBR
See Also:
Constant Field Values

MEASURE_MBR_NBR

protected static final String MEASURE_MBR_NBR
See Also:
Constant Field Values

MEASURE_REQUEST_NBR

protected static final String MEASURE_REQUEST_NBR
See Also:
Constant Field Values

MEASURE_LOGGED_SESSION_NBR

protected static final String MEASURE_LOGGED_SESSION_NBR
See Also:
Constant Field Values

MEASURE_GUEST_SESSION_NBR

protected static final String MEASURE_GUEST_SESSION_NBR
See Also:
Constant Field Values

MEASURE_ROBOT_SESSION_NBR

protected static final String MEASURE_ROBOT_SESSION_NBR
See Also:
Constant Field Values

MEASURE_THREADS_NBR

protected static final String MEASURE_THREADS_NBR
See Also:
Constant Field Values

MEASURE_ACTIVE_THREADS_NBR

protected static final String MEASURE_ACTIVE_THREADS_NBR
See Also:
Constant Field Values

MEASURE_DAEMON_THREADS_NBR

protected static final String MEASURE_DAEMON_THREADS_NBR
See Also:
Constant Field Values

MEASURE_INTERRUPTED_THREADS_NBR

protected static final String MEASURE_INTERRUPTED_THREADS_NBR
See Also:
Constant Field Values

EVENT_TIME

protected static final String EVENT_TIME
See Also:
Constant Field Values
Constructor Detail

Measure

public Measure(MonitoringManager mm)
Create a new measure with current system values

Parameters:
mm - the MonitoringManager instance
Since:
jcms-5.7

Measure

public Measure(MonitoringManager mm,
               Attributes atts)
Create a new measure by reading given XML attributes

Parameters:
mm - the MonitoringManager instance
atts - the attributes of the XML element
Since:
jcms-5.7

Measure

public Measure(MonitoringManager mm,
               long time,
               Random rand,
               Measure baseMeasure)
Create a new measure with random values

Parameters:
mm - the MonitoringManager instance
time - the time of this measure
rand - a Random seed to use
baseMeasure - the base measure around which random value will be generated
Since:
jcms-5.7
Method Detail

getName

public String getName()

getXmlString

public String getXmlString()


Copyright © 2001-2010 Jalios SA. All Rights Reserved.