increaseByOne

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

Creates a concurrency strategy that increases concurrency by one for each step.

Return

A ConcurrencyStrategy with an increase-by-one strategy.

Parameters

maximumConcurrency

The maximum concurrency level allowed.

minimumConcurrency

The minimum concurrency level allowed (defaults to 1).