Class MonitorHealth

    • Constructor Detail

      • MonitorHealth

        public MonitorHealth()
    • Method Detail

      • getItemAddedAverageThroughput

        public double getItemAddedAverageThroughput()
                                             throws 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:
        Exception
      • getItemProcessedAverageThroughput

        public double getItemProcessedAverageThroughput()
                                                 throws 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:
        Exception
      • getQueueAverageDuration

        public double getQueueAverageDuration()
                                       throws 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:
        Exception
      • getItemRejectedAverageThroughput

        public double getItemRejectedAverageThroughput()
                                                throws 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:
        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.