[ 
https://issues.apache.org/jira/browse/SLING-11993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joerg Hoh closed SLING-11993.
-----------------------------

> Threadpool: number of tasks in the work queue should be available via 
> metrics/JMX
> ---------------------------------------------------------------------------------
>
>                 Key: SLING-11993
>                 URL: https://issues.apache.org/jira/browse/SLING-11993
>             Project: Sling
>          Issue Type: Task
>          Components: Commons
>    Affects Versions: Commons Threads 3.2.22
>            Reporter: Joerg Hoh
>            Assignee: Joerg Hoh
>            Priority: Major
>             Fix For: Commons Threads 3.3.0
>
>
> There should be a metric/Mbean which tracks the number of tasks 
> (callables/runnables) to the threadpool, which are not yet processed, so the 
> number of entries in the work queue.
> getExectutorTaskCount() on the MBean lists the total number of processed task 
> plus the number of of tasks in the workqueue, so it's not usable here, so the 
> MBean interface must be extended by a new  
> {{getExcutorTasksInWorkQueueCount()}}, which returns the size of the work 
> queue.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to