public MethodConfig setRetries(Integer retries) {
        this.retries = retries;
        return this;
    }
Gets invoke type.

@return the invoke type
core/api/src/main/java/com/alipay/sofa/rpc/config/MethodConfig.java