diff --git a/hippo4j-common/src/main/java/cn/hippo4j/common/model/ThreadPoolParameterInfo.java b/hippo4j-common/src/main/java/cn/hippo4j/common/model/ThreadPoolParameterInfo.java index b67124aa..9785f0fa 100644 --- a/hippo4j-common/src/main/java/cn/hippo4j/common/model/ThreadPoolParameterInfo.java +++ b/hippo4j-common/src/main/java/cn/hippo4j/common/model/ThreadPoolParameterInfo.java @@ -113,11 +113,11 @@ public class ThreadPoolParameterInfo implements ThreadPoolParameter, Serializabl */ private Integer allowCoreThreadTimeOut; - public Integer getCorePoolSize() { + public Integer corePoolSizeAdapt() { return this.corePoolSize == null ? this.coreSize : this.corePoolSize; } - public Integer getMaximumPoolSize() { + public Integer maximumPoolSizeAdapt() { return this.maximumPoolSize == null ? this.maxSize : this.maximumPoolSize; } }