Packages that use OutboundCache.HashPair
Package
Description
Garlic message creation, parsing and handling, and the outbound message jobs: one-shot sends, source routing and delivery status handling.
Uses of OutboundCache.HashPair in net.i2p.router.message
Fields in net.i2p.router.message declared as OutboundCache.HashPairModifier and TypeFieldDescriptionprivate final OutboundCache.HashPairOutboundClientMessageOneShotJob._hashPairKey used to cache things with, based on source + dest.Fields in net.i2p.router.message with type parameters of type OutboundCache.HashPairModifier and TypeFieldDescription(package private) final ConcurrentHashMap<OutboundCache.HashPair, TunnelInfo> OutboundCache.backloggedTunnelCacheCache for backlogged tunnels per source-destination pair.(package private) final ConcurrentHashMap<OutboundCache.HashPair, Long> OutboundCache.lastReplyRequestCacheCache to track the last reply request time per source-destination pair.(package private) final ConcurrentHashMap<OutboundCache.HashPair, Lease> OutboundCache.leaseCacheLease cache keyed by source-destination pairs.(package private) final ConcurrentHashMap<OutboundCache.HashPair, LeaseSet> OutboundCache.leaseSetCacheLeaseSet cache keyed by source-destination pairs.(package private) final ConcurrentHashMap<OutboundCache.HashPair, TunnelInfo> OutboundCache.stalledTunnelCacheCache for tunnels set aside because the stream to that destination stalled.(package private) final ConcurrentHashMap<OutboundCache.HashPair, TunnelInfo> OutboundCache.tunnelCacheCache for outbound tunnels per source-destination pair.(package private) final ConcurrentHashMap<OutboundCache.HashPair, Long> OutboundCache.tunnelStartTimeTracks when each tunnel was first selected for a source-destination pair, to prevent rapid tunnel switching that causes out-of-order delivery and unnecessary NACKs in the streaming layer.Methods in net.i2p.router.message with parameters of type OutboundCache.HashPairModifier and TypeMethodDescription(package private) voidOutboundCache.clearCaches(OutboundCache.HashPair hashPair, Lease lease, TunnelInfo inTunnel, TunnelInfo outTunnel) Clears cache entries related to the provided key and elements upon failure, allowing retries with fresh associations.Method parameters in net.i2p.router.message with type arguments of type OutboundCache.HashPairModifier and TypeMethodDescriptionprivate static voidOutboundCache.cleanLeaseCache(Map<OutboundCache.HashPair, Lease> tc) Removes expired Leases from the provided cache.private static voidOutboundCache.cleanLeaseSetCache(RouterContext ctx, Map<OutboundCache.HashPair, LeaseSet> tc) Removes expired LeaseSets from the provided cache.private static voidOutboundCache.cleanReplyCache(RouterContext ctx, Map<OutboundCache.HashPair, Long> tc) Removes stale entries from the last reply request cache.private static voidOutboundCache.cleanTunnelCache(RouterContext ctx, Map<OutboundCache.HashPair, TunnelInfo> tc) Removes invalid or expired TunnelInfo entries from the provided tunnel cache.