java.lang.Object
net.i2p.router.web.helpers.UDPSorters.PeerComparator
net.i2p.router.web.helpers.UDPSorters.RateOutComparator
All Implemented Interfaces:
Serializable, Comparator<PeerState>
Enclosing class:
UDPSorters

static class UDPSorters.RateOutComparatorextends UDPSorters.PeerComparator
Comparator for sorting UDP peers by outbound rate in ascending order.
  • Field Details

    • now

      private final long now
      Time the comparator was made, so rates are read consistently
  • Constructor Details

    • RateOutComparator

      RateOutComparator()
      Default constructor; snapshots the clock for the bps comparison.
  • Method Details