Searched refs:queueLength (Results 1 – 1 of 1) sorted by relevance
45 private final int queueLength; field in TrafficControlProxy76 queueLength = (int) Math.max(bandwidth * latency / TimeUnit.SECONDS.toNanos(1), 1); in TrafficControlProxy()77 chunkSize = Math.max(1, queueLength); in TrafficControlProxy()103 + " with Queue Length " + queueLength); in start()223 while (bytesQueued == queueLength) { in getNextChunk()226 return Math.max(0, Math.min(chunkSize, queueLength - bytesQueued)); in getNextChunk()231 if (bytesQueued < queueLength) { in incrementBytes()