public ProviderConfig<T> setExecutor(ThreadPoolExecutor executor) {
        this.executor = executor;
        return this;
    }
Sets concurrents.

@param concurrents the concurrents
@return the concurrents
core/api/src/main/java/com/alipay/sofa/rpc/config/ProviderConfig.java