public ServerConfig setThreadPoolType(String threadPoolType) {
        this.threadPoolType = threadPoolType;
        return this;
    }
Gets max threads.

@return the max threads
core/api/src/main/java/com/alipay/sofa/rpc/config/ServerConfig.java