找出池中有多少排队的任务

时间:2019-03-20 09:59:13

标签: java

我怎么知道队列中有多少个任务, 除了进行内存转储? 看起来,即使运行了超过5000个任务,该计数仍为5000。

WARN  c.p.c.e.ExceptionHandler - Error id is 1. General exception. URL: http://<url>, exception is: Executor [java.util.concurrent.ThreadPoolExecutor@number[Running, pool size = 3, active threads = 3, queued tasks = 5000, completed tasks = 43869]] did not accept task: org.springframework.aop.interceptor.AsyncExecutionInterceptor$1@number

0 个答案:

没有答案