RoundRobinPolicy
Round-robin policy. Selects channels in a cyclic order, ensuring fair distribution across available channels. Each time a channel is selected, the pointer advances to the next channel.
Parameters
ChannelT
the type of channel managed by the policy
Functions
Link copied to clipboard
Checks if all channels are unavailable.
Link copied to clipboard
Initializes the policy with the list of channels it will manage.
Link copied to clipboard
Called when a channel becomes available (open for fork, ready for join).
Link copied to clipboard
Called when a channel becomes unavailable (closed for fork, not ready for join).
Link copied to clipboard
Selects a channel from the available channels.