Node

@Serializable
sealed interface Node

A child of a group: another Group, or a Lane that work is charged to.

Inheritors

Properties

Link copied to clipboard
abstract val maxConcurrent: Long?

The most leases that may be open beneath this child at once, or null for no ceiling. 0 pauses it: nothing beneath it is picked. Never negative. A LocalHeddle running this topology picks nothing beneath a child whose open leases have reached it, and counts the child idle at its parent until they drop below; it refuses no charge for work already running there. LocalHeddle.explain tells a leaf waiting on it WaitExplanation.AtCeiling.

Link copied to clipboard
abstract val name: String

The child's name, unique among its siblings.

Link copied to clipboard
abstract val weight: Weight

The child's share relative to its siblings.