return new IncomingLoadSummaryStats(runningRequests.totalRequests(),
loadStats.outputBandwidthPeerLimit, loadStats.inputBandwidthPeerLimit,
loadStats.outputBandwidthUpperLimit, loadStats.inputBandwidthUpperLimit,
runningRequests.calculate(ignoreLocalVsRemoteBandwidthLiability, false),
runningRequests.calculate(ignoreLocalVsRemoteBandwidthLiability, true),
otherRunningRequests.calculate(ignoreLocalVsRemoteBandwidthLiability, false),
otherRunningRequests.calculate(ignoreLocalVsRemoteBandwidthLiability, true));
}
/** Can we route the tag to this peer? If so (including if we are accepting because
* we don't have any load stats), and we haven't already, addRoutedTo() and return