net.i2p.router.transport.udp
Class Sorters

java.lang.Object
  extended by net.i2p.router.transport.udp.Sorters

 class Sorters
extends Object

Comparators for various columns

Since:
0.9.18 moved from UDPTransport

Nested Class Summary
(package private) static class Sorters.AlphaComparator
           
(package private) static class Sorters.CwndComparator
           
(package private) static class Sorters.DupComparator
           
(package private) static class Sorters.IdleInComparator
           
(package private) static class Sorters.IdleOutComparator
           
(package private) static class Sorters.MTUComparator
           
(package private) static class Sorters.PeerComparator
           
(package private) static class Sorters.RateInComparator
           
(package private) static class Sorters.RateOutComparator
           
(package private) static class Sorters.RecvCountComparator
           
(package private) static class Sorters.ResendComparator
           
(package private) static class Sorters.RTOComparator
           
(package private) static class Sorters.RTTComparator
           
(package private) static class Sorters.SendCountComparator
           
(package private) static class Sorters.SkewComparator
           
(package private) static class Sorters.SsthreshComparator
           
(package private) static class Sorters.UptimeComparator
           
 
Field Summary
(package private) static int FLAG_ALPHA
           
(package private) static int FLAG_CWND
           
(package private) static int FLAG_DEBUG
           
(package private) static int FLAG_DUP
           
(package private) static int FLAG_IDLE_IN
           
(package private) static int FLAG_IDLE_OUT
           
(package private) static int FLAG_MTU
           
(package private) static int FLAG_RATE_IN
           
(package private) static int FLAG_RATE_OUT
           
(package private) static int FLAG_RECV
           
(package private) static int FLAG_RESEND
           
(package private) static int FLAG_RTO
           
(package private) static int FLAG_RTT
           
(package private) static int FLAG_SEND
           
(package private) static int FLAG_SKEW
           
(package private) static int FLAG_SSTHRESH
           
(package private) static int FLAG_UPTIME
           
 
Constructor Summary
Sorters()
           
 
Method Summary
(package private) static void appendSortLinks(StringBuilder buf, String urlBase, int sortFlags, String descr, int ascending)
           
(package private) static Comparator<PeerState> getComparator(int sortFlags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FLAG_ALPHA

static final int FLAG_ALPHA
See Also:
Constant Field Values

FLAG_IDLE_IN

static final int FLAG_IDLE_IN
See Also:
Constant Field Values

FLAG_IDLE_OUT

static final int FLAG_IDLE_OUT
See Also:
Constant Field Values

FLAG_RATE_IN

static final int FLAG_RATE_IN
See Also:
Constant Field Values

FLAG_RATE_OUT

static final int FLAG_RATE_OUT
See Also:
Constant Field Values

FLAG_SKEW

static final int FLAG_SKEW
See Also:
Constant Field Values

FLAG_CWND

static final int FLAG_CWND
See Also:
Constant Field Values

FLAG_SSTHRESH

static final int FLAG_SSTHRESH
See Also:
Constant Field Values

FLAG_RTT

static final int FLAG_RTT
See Also:
Constant Field Values

FLAG_RTO

static final int FLAG_RTO
See Also:
Constant Field Values

FLAG_MTU

static final int FLAG_MTU
See Also:
Constant Field Values

FLAG_SEND

static final int FLAG_SEND
See Also:
Constant Field Values

FLAG_RECV

static final int FLAG_RECV
See Also:
Constant Field Values

FLAG_RESEND

static final int FLAG_RESEND
See Also:
Constant Field Values

FLAG_DUP

static final int FLAG_DUP
See Also:
Constant Field Values

FLAG_UPTIME

static final int FLAG_UPTIME
See Also:
Constant Field Values

FLAG_DEBUG

static final int FLAG_DEBUG
See Also:
Constant Field Values
Constructor Detail

Sorters

Sorters()
Method Detail

getComparator

static Comparator<PeerState> getComparator(int sortFlags)

appendSortLinks

static void appendSortLinks(StringBuilder buf,
                            String urlBase,
                            int sortFlags,
                            String descr,
                            int ascending)