roundRobinSharedPoolStarvationBound function
Returns the accepted-transfer bound for the default round-robin policy.
A continuously valid source is admitted after no more than this many other accepted ingress transfers, provided shared capacity becomes available.
Implementation
int roundRobinSharedPoolStarvationBound(int sourceCount) {
if (sourceCount < 1) {
throw ArgumentError.value(
sourceCount, 'sourceCount', 'Must contain at least one source.');
}
return sourceCount - 1;
}