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

Joerg Hoh reassigned SLING-11993:
---------------------------------

    Assignee: Joerg Hoh

> Threadpool: number of submitted tasks 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
>
> 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