Class MonitorHealth

    • Constructor Summary

      Constructors 
      Constructor Description
      MonitorHealth()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getItemAddedAverageThroughput()
      Health indicator of the average of the throughput of items added in monitor process queue (how many items have been added in one second).
      double getItemProcessedAverageThroughput()
      Health indicator of the average of the throughput of items processed in monitor process queue (how many items have been added in one second).
      double getItemRejectedAverageThroughput()
      Health indicator of the average of the throughput of items rejected by the monitor process queue (how many items have been rejected in one second).
      int getNumberOfActiveThreads()
      Health indicator of the number of currently active monitor process threads.
      int getNumberOfThreads()
      Health indicator of the number of monitor process threads.
      int getProcessQueueMaximumSize()
      Heath indicator of the monitoring process queue maximum size.
      int getProcessQueueSize()
      Heath indicator of the monitoring process queue size.
      double getQueueAverageDuration()
      Health indicator of the average of the duration an item remains on the process queue, since it was added until it is fully processed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MonitorHealth

        public MonitorHealth()
    • Method Detail

      • getProcessQueueSize

        public int getProcessQueueSize()
                                throws java.lang.Exception
        Description copied from interface: MonitorHealthMBean
        Heath indicator of the monitoring process queue size.
        Specified by:
        getProcessQueueSize in interface MonitorHealthMBean
        Returns:
        the monitoring process queue size.
        Throws:
        java.lang.Exception
      • getProcessQueueMaximumSize

        public int getProcessQueueMaximumSize()
                                       throws java.lang.Exception
        Description copied from interface: MonitorHealthMBean
        Heath indicator of the monitoring process queue maximum size.
        Specified by:
        getProcessQueueMaximumSize in interface MonitorHealthMBean
        Returns:
        the monitoring process queue maximum size.
        Throws:
        java.lang.Exception
      • getItemAddedAverageThroughput

        public double getItemAddedAverageThroughput()
                                             throws java.lang.Exception
        Description copied from interface: MonitorHealthMBean
        Health indicator of the average of the throughput of items added in monitor process queue (how many items have been added in one second).
        Specified by:
        getItemAddedAverageThroughput in interface MonitorHealthMBean
        Returns:
        the average of the throughput of items added in monitor process queue (how many items were added in one second).
        Throws:
        java.lang.Exception
      • getItemProcessedAverageThroughput

        public double getItemProcessedAverageThroughput()
                                                 throws java.lang.Exception
        Description copied from interface: MonitorHealthMBean
        Health indicator of the average of the throughput of items processed in monitor process queue (how many items have been added in one second).
        Specified by:
        getItemProcessedAverageThroughput in interface MonitorHealthMBean
        Returns:
        the average of the throughput of items processed in monitor process queue (how many items have been added in one second).
        Throws:
        java.lang.Exception
      • getQueueAverageDuration

        public double getQueueAverageDuration()
                                       throws java.lang.Exception
        Description copied from interface: MonitorHealthMBean
        Health indicator of the average of the duration an item remains on the process queue, since it was added until it is fully processed.
        Specified by:
        getQueueAverageDuration in interface MonitorHealthMBean
        Returns:
        the average of the duration an item remains on the process queue, since it was added until it is fully processed.
        Throws:
        java.lang.Exception
      • getItemRejectedAverageThroughput

        public double getItemRejectedAverageThroughput()
                                                throws java.lang.Exception
        Description copied from interface: MonitorHealthMBean
        Health indicator of the average of the throughput of items rejected by the monitor process queue (how many items have been rejected in one second).
        Specified by:
        getItemRejectedAverageThroughput in interface MonitorHealthMBean
        Returns:
        the average of the throughput of items rejected by the monitor process queue (how many items have been rejected in one second).
        Throws:
        java.lang.Exception
      • getNumberOfThreads

        public int getNumberOfThreads()
        Description copied from interface: MonitorHealthMBean
        Health indicator of the number of monitor process threads.
        Specified by:
        getNumberOfThreads in interface MonitorHealthMBean
        Returns:
        the number of monitor process threads.
      • getNumberOfActiveThreads

        public int getNumberOfActiveThreads()
        Description copied from interface: MonitorHealthMBean
        Health indicator of the number of currently active monitor process threads.
        Specified by:
        getNumberOfActiveThreads in interface MonitorHealthMBean
        Returns:
        the number of currently active monitor process threads.