Companion
object Companion
Properties
Functions
Link copied to clipboard
fun exponential(maximumConcurrency: Int, minimumConcurrency: Int = 1, factor: Int = 2): ConcurrencyStrategy
Creates an exponential concurrency strategy that increases concurrency exponentially for each step.
Link copied to clipboard
Creates a static concurrency strategy with a fixed level of concurrency.
Link copied to clipboard
fun increaseBy(maximumConcurrency: Int, minimumConcurrency: Int = 1, factor: (Int) -> Int): ConcurrencyStrategy
Creates a custom concurrency strategy that increases concurrency based on the provided factor function.
Link copied to clipboard
Creates a concurrency strategy that increases concurrency by one for each step.
Link copied to clipboard
fun maximumAllowedAfterFirstIteration(maximumConcurrency: Int, minimumConcurrency: Int = 1): ConcurrencyStrategy
Creates a concurrency strategy that uses the maximum concurrency level allowed after the first iteration.