A counting gate over a fixed number of slots.
How many calls currently hold a slot.
The configured cap.
Changes the cap. Lowering it never drops a live call; it only refuses new ones until enough calls end.
Takes a slot, or returns null when the gate is at its cap.
null
A counting gate over a fixed number of slots.