maximumAllowedAfterFirstIteration

fun maximumAllowedAfterFirstIteration(maximumConcurrency: Int, minimumConcurrency: Int = 1): ConcurrencyStrategy

Creates a concurrency strategy that uses the maximum concurrency level allowed after the first iteration.

Return

A ConcurrencyStrategy that switches to the maximum allowed concurrency after the first iteration.

Parameters

maximumConcurrency

The maximum concurrency level allowed.

minimumConcurrency

The minimum concurrency level allowed (defaults to 1).