Thread pool parameter change and modification naming

pull/233/head
chen.ma 2 years ago
parent b6c4033d77
commit d25b2daa96

@ -27,7 +27,7 @@ public class ChangeThreadPoolConstants {
public static final String CHANGE_THREAD_POOL_TEXT = "[{}] Changing thread pool parameters. " +
"\n coreSize :: [{}]" +
"\n maxSize :: [{}]" +
"\n maximumSize :: [{}]" +
"\n queueType :: [{}]" +
"\n capacity :: [{}]" +
"\n keepAliveTime :: [{}]" +

@ -95,7 +95,7 @@ public class JettyWebThreadPoolHandler extends AbstractWebThreadPoolService {
log.info(
"[JETTY] Changed web thread pool. " +
"\n coreSize :: [{}]" +
"\n maxSize :: [{}]",
"\n maximumSize :: [{}]",
String.format(CHANGE_DELIMITER, minThreads, jettyExecutor.getMinThreads()),
String.format(CHANGE_DELIMITER, maxThreads, jettyExecutor.getMaxThreads()));
} catch (Exception ex) {

@ -125,7 +125,7 @@ public class TomcatWebThreadPoolHandler extends AbstractWebThreadPoolService {
log.info(
"[TOMCAT] Changed web thread pool. " +
"\n coreSize :: [{}]" +
"\n maxSize :: [{}]" +
"\n maximumSize :: [{}]" +
"\n keepAliveTime :: [{}]",
String.format(CHANGE_DELIMITER, originalCoreSize, threadPoolParameterInfo.getCoreSize()),
String.format(CHANGE_DELIMITER, originalMaximumPoolSize, threadPoolParameterInfo.getMaxSize()),

@ -164,7 +164,7 @@ public class UndertowWebThreadPoolHandler extends AbstractWebThreadPoolService {
log.info(
"[UNDERTOW] Changed web thread pool. " +
"\n coreSize :: [{}]" +
"\n maxSize :: [{}]" +
"\n maximumSize :: [{}]" +
"\n keepAliveTime :: [{}]",
String.format(CHANGE_DELIMITER, originalCoreSize, coreSize),
String.format(CHANGE_DELIMITER, originalMaximumPoolSize, maxSize),

Loading…
Cancel
Save