servicetalk-client-api/src/main/java/io/servicetalk/client/api/AbstractRetryingFilterBuilder.java
/**
     * Set the maximum number of allowed retry operations before giving up.
     *
     * @param maxRetries Maximum number of allowed retries before giving up
     * @return {@code this}
     */
Set the maximum number of allowed retry operations before giving up.
@param maxRetries Maximum number of allowed retries before giving up
@return  this
Set the maximum number of allowed retry operations before giving up . @param maxRetries Maximum number of allowed retries before giving up @return this
public final Builder maxRetries(final int maxRetries) {
        if (maxRetries <= 0) {
            throw new IllegalArgumentException("maxRetries: " + maxRetries + " (expected: >0)");
        }
        this.maxRetries = maxRetries;
        return castThis();
    }
public final Builder maxRetries ( final int maxRetries ) { if ( maxRetries <= 0 ) { throw new IllegalArgumentException ( "maxRetries: " + maxRetries + " (expected: >0)" ) ; } this . maxRetries = maxRetries ; return castThis ( ) ; }
Set the maximum number of allowed retry operations before giving up.
Set the maximum number of allowed retry operations before giving up .