WaitRegistry

The waits started on this node: a wait is registered before its command is executed, takes the signals of its hops as they arrive, and is removed when its caller has its answer or gives up. A signal for a wait this node does not hold (ended, timed out, or never here) is dropped. It holds at most the bound each registration names: a registration beyond it is refused.

It also counts the sends to a command topic that outlived their waits (sendsLeft), which the node bounds apart from its waits.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The sends to a command topic whose waits ended (at their deadline, or with their caller) before the send returned, and that have not returned yet (#7496): each holds its command and, while the producer cannot hand it over, a thread. RelayedSends bounds them by the waits' own limit (WaitOptions.maxRegistered), apart from the waits: at it a command for a command topic is refused as busy, and no other.

Link copied to clipboard
val size: Int

The waits registered now.

Functions

Link copied to clipboard
fun signal(signal: WaitSignal): Boolean

Applies signal to its wait.