Class WeightedFairQueueByteDistributor.StateOnlyComparator

java.lang.Object
io.netty.handler.codec.http2.WeightedFairQueueByteDistributor.StateOnlyComparator
All Implemented Interfaces:
Serializable, Comparator<WeightedFairQueueByteDistributor.State>
Enclosing class:
WeightedFairQueueByteDistributor

private static final class WeightedFairQueueByteDistributor.StateOnlyComparator extends Object implements Comparator<WeightedFairQueueByteDistributor.State>, Serializable
A comparator for WeightedFairQueueByteDistributor.State which has no associated Http2Stream object. The general precedence is:
  • Was a stream activated or reserved (streams only used for priority are higher priority)
  • Depth in the priority tree (closer to root is higher priority>
  • Stream ID (higher stream ID is higher priority - used for tie breaker)