Change thread pool change copy

1.4.0
chen.ma 2 years ago
parent 96158474b4
commit 8bfa5b4d5b

@ -22,7 +22,10 @@ package cn.hippo4j.common.constant;
*/ */
public class ChangeThreadPoolConstants { public class ChangeThreadPoolConstants {
public static final String CHANGE_THREAD_POOL_TEXT = "Dynamic thread pool change parameter: [{}]" + /**
* Dynamic thread pool parameter change text
*/
public static final String CHANGE_THREAD_POOL_TEXT = " [{}] Dynamic thread pool change parameter." +
"\n corePoolSize: [{}]" + "\n corePoolSize: [{}]" +
"\n maximumPoolSize: [{}]" + "\n maximumPoolSize: [{}]" +
"\n capacity: [{}]" + "\n capacity: [{}]" +
@ -31,5 +34,8 @@ public class ChangeThreadPoolConstants {
"\n rejectedType: [{}]" + "\n rejectedType: [{}]" +
"\n allowCoreThreadTimeOut: [{}]"; "\n allowCoreThreadTimeOut: [{}]";
/**
* Dynamic thread pool parameter change separator
*/
public static final String CHANGE_DELIMITER = "%s => %s"; public static final String CHANGE_DELIMITER = "%s => %s";
} }

Loading…
Cancel
Save