public UserThreadPool setCorePoolSize(int corePoolSize) {
        this.corePoolSize = corePoolSize;
        return this;
    }
Sets core pool size.

@param corePoolSize the core pool size
@return the core pool size
core/api/src/main/java/com/alipay/sofa/rpc/server/UserThreadPool.java