Interface IQueueConsumingThreadPoolStatistics


  • public interface IQueueConsumingThreadPoolStatistics
    Statistics of a queue consuming thread pool.
    Since:
    17.0.0
    Version:
    $Revision: 26586 $ $Date: 2024-08-26 21:06:04 -0300 (Mon, 26 Aug 2024) $
    • Method Detail

      • getProcessQueueSize

        int getProcessQueueSize()
        Returns the process queue size.
        Returns:
        the process queue size.
        Since:
        17.0.0
      • getItemsAddedAverageThroughput

        double getItemsAddedAverageThroughput()
        Returns the average of the items enqueued throughput (items per second).
        Returns:
        the average of the items enqueued throughput (items per second).
        Since:
        17.0.0
      • getItemsRejectedAverageThroughput

        double getItemsRejectedAverageThroughput()
        Returns the average of the items rejected throughput (items per second).
        Returns:
        the average of the items rejected throughput (items per second).
        Since:
        17.0.0
      • getItemsProcessedAverageThroughput

        double getItemsProcessedAverageThroughput()
        Returns the average of the items processed throughput (items per second).
        Returns:
        the average of the items processed throughput (items per second).
        Since:
        17.0.0
      • getQueueAverageDuration

        double getQueueAverageDuration()
        Returns the average duration an item remains in the process queue (since it was added to the queue until it is fully processed) in milliseconds.
        Returns:
        the average duration an item remains in the process queue (since it was added to the queue until it is fully processed) in milliseconds.
        Since:
        17.0.0
      • getNumberOfThreads

        int getNumberOfThreads()
        Returns the number of processor threads.
        Returns:
        the number of processor threads.
        Since:
        17.0.0
      • getNumberOfActiveThreads

        int getNumberOfActiveThreads()
        Returns the number of currently active processor threads.
        Returns:
        the number of currently active processor threads.
        Since:
        17.0.0
      • getProcessQueueMaximumSize

        int getProcessQueueMaximumSize()
        Returns the process queue maximum size.
        Returns:
        the process queue maximum size.
        Since:
        17.0.0