Class Measure


  • public class Measure
    extends java.lang.Object
    Event that store all the values which are taken for a monitoring measures.
    Since:
    jcms-5.7
    Author:
    Olivier Jaquemet
    • Field Detail

      • MEASURE_MEM_FREE

        protected static final java.lang.String MEASURE_MEM_FREE
        See Also:
        Constant Field Values
      • MEASURE_MEM_TOTAL

        protected static final java.lang.String MEASURE_MEM_TOTAL
        See Also:
        Constant Field Values
      • MEASURE_MEM_MAX

        protected static final java.lang.String MEASURE_MEM_MAX
        See Also:
        Constant Field Values
      • MEASURE_DATA_NBR

        protected static final java.lang.String MEASURE_DATA_NBR
        See Also:
        Constant Field Values
      • MEASURE_DBDATA_NBR

        protected static final java.lang.String MEASURE_DBDATA_NBR
        See Also:
        Constant Field Values
      • MEASURE_UGC_NBR

        protected static final java.lang.String MEASURE_UGC_NBR
        See Also:
        Constant Field Values
      • MEASURE_CONTENT_NBR

        protected static final java.lang.String MEASURE_CONTENT_NBR
        See Also:
        Constant Field Values
      • MEASURE_DOC_NBR

        protected static final java.lang.String MEASURE_DOC_NBR
        See Also:
        Constant Field Values
      • MEASURE_MBR_NBR

        protected static final java.lang.String MEASURE_MBR_NBR
        See Also:
        Constant Field Values
      • MEASURE_REQUEST_NBR

        protected static final java.lang.String MEASURE_REQUEST_NBR
        See Also:
        Constant Field Values
      • MEASURE_LOGGED_SESSION_NBR

        protected static final java.lang.String MEASURE_LOGGED_SESSION_NBR
        See Also:
        Constant Field Values
      • MEASURE_GUEST_SESSION_NBR

        protected static final java.lang.String MEASURE_GUEST_SESSION_NBR
        See Also:
        Constant Field Values
      • MEASURE_ROBOT_SESSION_NBR

        protected static final java.lang.String MEASURE_ROBOT_SESSION_NBR
        See Also:
        Constant Field Values
      • MEASURE_THREADS_NBR

        protected static final java.lang.String MEASURE_THREADS_NBR
        See Also:
        Constant Field Values
      • MEASURE_ACTIVE_THREADS_NBR

        protected static final java.lang.String MEASURE_ACTIVE_THREADS_NBR
        See Also:
        Constant Field Values
      • MEASURE_DAEMON_THREADS_NBR

        protected static final java.lang.String MEASURE_DAEMON_THREADS_NBR
        See Also:
        Constant Field Values
      • MEASURE_INTERRUPTED_THREADS_NBR

        protected static final java.lang.String MEASURE_INTERRUPTED_THREADS_NBR
        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,
                       org.xml.sax.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,
                       java.util.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 java.lang.String getName()
      • getXmlString

        public java.lang.String getXmlString()
      • getTime

        public long getTime()