ConcurrencyStrategy

class ConcurrencyStrategy(val initial: ConcurrencyInfo, val increaseStrategy: (ConcurrencyInfo) -> ConcurrencyInfo = { it })

A class representing a concurrency strategy for handling concurrent operations.

Constructors

Link copied to clipboard
constructor(initial: ConcurrencyInfo, increaseStrategy: (ConcurrencyInfo) -> ConcurrencyInfo = { it })

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A function to update the ConcurrencyInfo based on the provided strategy.

Link copied to clipboard

The initial ConcurrencyInfo containing information about maximum allowed and current concurrency levels.