pw.println(config.isShutdownGraceful());
pw.print("- shutdown wait time : ");
pw.println(config.getShutdownWaitTimeMs());
pw.print("- daemon : ");
pw.println(config.isDaemon());
final ThreadPoolExecutor tpe = entry.getExecutor();
if ( tpe != null ) {
pw.print("- active count : ");
pw.println(tpe.getActiveCount());
pw.print("- completed task count : ");
pw.println(tpe.getCompletedTaskCount());
pw.print("- core pool size : ");
pw.println(tpe.getCorePoolSize());
pw.print("- largest pool size : ");
pw.println(tpe.getLargestPoolSize());
pw.print("- maximum pool size : ");
pw.println(tpe.getMaximumPoolSize());
pw.print("- pool size : ");
pw.println(tpe.getPoolSize());
pw.print("- task count : ");
pw.println(tpe.getTaskCount());
}
pw.println();
}
} else {
pw.println("No pools configured.");