servicetalk-client-api/src/main/java/io/servicetalk/client/api/DefaultAutoRetryStrategyProvider.java
/**
         * Updates maximum number of automatic retries done for any request.
         *
         * @param maxRetries Maximum number of automatic retries done for any request.
         * @return {@code this}.
         */
Updates maximum number of automatic retries done for any request.
@param maxRetries Maximum number of automatic retries done for any request.
@return  this.
Updates maximum number of automatic retries done for any request . @param maxRetries Maximum number of automatic retries done for any request . @return this .
public Builder maxRetries(int maxRetries) {
            if (maxRetries <= 0) {
                throw new IllegalArgumentException("maxRetries " + maxRetries + " (expected >0)");
            }
            this.maxRetries = maxRetries;
            return this;
        }
public Builder maxRetries ( int maxRetries ) { if ( maxRetries <= 0 ) { throw new IllegalArgumentException ( "maxRetries " + maxRetries + " (expected >0)" ) ; } this . maxRetries = maxRetries ; return this ; }
Updates maximum number of automatic retries done for any request.
Updates maximum number of automatic retries done for any request .