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 Mar 1, 2024
1 parent b274315 commit d732ee4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ 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 d732ee4

Please sign in to comment.