Packages that use ArraySet
Package
Description
Tunnel pool management: pool lifecycle, peer selection, build scheduling and failure handling for client and exploratory tunnels.
General utility classes shared across the core libraries and the router.
Uses of ArraySet in net.i2p.router.tunnel.pool
Methods in net.i2p.router.tunnel.pool with parameters of type ArraySetModifier and TypeMethodDescriptionprivate voidClientPeerSelector.refillFirstHop(ClientPeerSelector.SelectionParams params, SessionKey randomKey, ClientPeerSelector.SelectionExclusions ex, ArraySet<Hash> matches, boolean inStartup) Refill the first-hop candidate batch after a quality-loop ejection.private voidClientPeerSelector.selectFirstHop(int length, ClientPeerSelector.SelectionParams params, SessionKey randomKey, ClientPeerSelector.SelectionExclusions ex, ArraySet<Hash> matches) Select the first hop, IBGW for inbound and the closest outbound peer otherwise, with a quality loop and pre-connect.private booleanClientPeerSelector.selectLastHop(TunnelPoolSettings settings, int length, ClientPeerSelector.SelectionParams params, SessionKey randomKey, Set<Hash> lastHopExclude, Set<Hash> rawExclude, ArraySet<Hash> matches) Select the last hop (hidden-inbound closest hop, hidden-outbound OBEP, or normal OBEP).private voidClientPeerSelector.selectMiddleHops(int length, ClientPeerSelector.SelectionParams params, SessionKey randomKey, ClientPeerSelector.SelectionExclusions ex, ArraySet<Hash> matches, List<Hash> rv) Select the middle hop(s) of a tunnel longer than 2 hops, subtiers 2-3, quality-ordered.ClientPeerSelector.selectMultiHop(TunnelPoolSettings settings, int length, ClientPeerSelector.SelectionParams params, ClientPeerSelector.SelectionExclusions ex, ArraySet<Hash> matches) Select all hops of a multi-hop tunnel: last hop, middle hops, then first hop.ClientPeerSelector.selectSingleHop(TunnelPoolSettings settings, int length, ClientPeerSelector.SelectionParams params, ClientPeerSelector.SelectionExclusions ex, ArraySet<Hash> matches) Select the single hop of a 1-hop tunnel (with hidden-inbound special case).private voidClientPeerSelector.topUpFromFastTier(ClientPeerSelector.SelectionParams params, Set<Hash> exclude, ArraySet<Hash> matches) Add Fast-tier candidates until the batch is full, used when the first hop is widening past the HighCapacity tier it started from.private voidClientPeerSelector.topUpFromHighCapacityTier(ClientPeerSelector.SelectionParams params, Set<Hash> exclude, ArraySet<Hash> matches) Add HighCapacity-tier candidates until the batch is full.(package private) static voidClientPeerSelector.trimToAcceptedFirstHop(ArraySet<Hash> matches, Hash accepted) Reduce a first-hop candidate batch to the single peer the quality loop accepted.Uses of ArraySet in net.i2p.util
Subclasses of ArraySet in net.i2p.utilModifier and TypeClassDescriptionclassEfficient implementation of a SortedSet stored in a fixed-size array.