Lane

@Serializable
@SerialName(value = "lane")
data class Lane(val name: String, val weight: Weight = Weight.ONE, @IntroducedAt(version = "0.7.5") val maxConcurrent: Long? = null) : Topology.Node

A leaf of the tree: work is charged here.

Constructors

Link copied to clipboard
constructor(name: String, weight: Weight = Weight.ONE, @IntroducedAt(version = "0.7.5") maxConcurrent: Long? = null)

Properties

Link copied to clipboard
open override val maxConcurrent: Long?

the most leases open on this lane at once; null for no ceiling, 0 to pause it.

Link copied to clipboard
open override val name: String

The child's name, unique among its siblings.

Link copied to clipboard
@Serializable(with = TopologyWeightSerializer::class)
open override val weight: Weight

The child's share relative to its siblings.