Skip to content

Commit

Permalink
add queueRemainingSize at the beginning
Browse files Browse the repository at this point in the history
  • Loading branch information
liujianjun.ljj committed Feb 29, 2024
1 parent b274315 commit 5504ae6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public void start() {
StringBuilder sb = new StringBuilder();
sb.append("coreSize:" + threadPoolExecutor.getCorePoolSize() + ",");
sb.append("maxPoolSize:" + threadPoolExecutor.getMaximumPoolSize() + ",");
sb.append("queueRemainingSize:" + threadPoolExecutor.getQueue().remainingCapacity() + ",");
sb.append("keepAliveTime:"
+ threadPoolExecutor.getKeepAliveTime(TimeUnit.MILLISECONDS)
+ "\n");
Expand Down

0 comments on commit 5504ae6

Please sign in to comment.