Package net.i2p.router.web.helpers
Class UDPSorters
java.lang.Object
net.i2p.router.web.helpers.UDPSorters
class UDPSorters extends Object
Comparators for various columns
- Since:
- 0.9.31 moved from udp; 0.9.18 moved from UDPTransport
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
UDPSorters.AlphaComparator
(package private) static class
UDPSorters.CwndComparator
(package private) static class
UDPSorters.DupComparator
(package private) static class
UDPSorters.IdleInComparator
(package private) static class
UDPSorters.IdleOutComparator
(package private) static class
UDPSorters.MTUComparator
(package private) static class
UDPSorters.PeerComparator
(package private) static class
UDPSorters.RateInComparator
(package private) static class
UDPSorters.RateOutComparator
(package private) static class
UDPSorters.RecvCountComparator
(package private) static class
UDPSorters.ResendComparator
(package private) static class
UDPSorters.RTOComparator
(package private) static class
UDPSorters.RTTComparator
(package private) static class
UDPSorters.SendCountComparator
(package private) static class
UDPSorters.SkewComparator
(package private) static class
UDPSorters.SsthreshComparator
(package private) static class
UDPSorters.UptimeComparator
-
Field Summary
Fields Modifier and Type Field Description (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
Constructors Constructor Description UDPSorters()
-
Method Summary
Modifier and Type Method Description (package private) static void
appendSortLinks(StringBuilder buf, String urlBase, int sortFlags, String descr, int ascending)
(package private) static Comparator<PeerState>
getComparator(int sortFlags)
-
Field Details
-
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 Details
-
UDPSorters
UDPSorters()
-
-
Method Details
-
getComparator
-
appendSortLinks
static void appendSortLinks(StringBuilder buf, String urlBase, int sortFlags, String descr, int ascending)
-