In our production environments, we are using Thread Pool Executor to execute runntable task. I need to develop a Thread pool Heartbeat a monitoring system for Thread pool Executor Service:
Every 60 seconds, the requirement is to collect following statistic about the Thread Pooled Executor:
1) size of the thread pool
2) length of queue waiting for a thread (a duration or time task waited in blocking queue before thread executed )
3) Average wait time in queue during the last heartbeat interval
4) Current active thread
5) Current non active threads.
I wanted to know is there any existing framework or Thread pool Executor Service which will provide above reporting requirements.
Thanks,
BMis13