public ThreadPoolExecutor getExecutor() {
        return executor;
    }
Sets concurrents.

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