Uses of Class
net.i2p.router.message.OutboundCache.HashPair
-
Uses of OutboundCache.HashPair in net.i2p.router.message
Modifier and TypeFieldDescription(package private) final Map<OutboundCache.HashPair,
TunnelInfo> OutboundCache.backloggedTunnelCache
(package private) final Map<OutboundCache.HashPair,
Long> OutboundCache.lastReplyRequestCache
This cache is used to ensure that we request a reply every so often.(package private) final ConcurrentHashMap<OutboundCache.HashPair,
Lease> OutboundCache.leaseCache
Use the same inbound tunnel (i.e.(package private) final ConcurrentHashMap<OutboundCache.HashPair,
LeaseSet> OutboundCache.leaseSetCache
Returns the reply lease set if forced to do so, or if configured to do so, or if a certain percentage of the time if configured to do so, or if our lease set has changed since we last talked to them, or 10% of the time anyway so they don't forget us (disabled for now), or null otherwise.(package private) final Map<OutboundCache.HashPair,
TunnelInfo> OutboundCache.tunnelCache
Use the same outbound tunnel as we did for the same destination previously, if possible, to keep the streaming lib happy Use two caches - although a cache of a list of tunnels per dest might be more elegant.Modifier and TypeMethodDescription(package private) void
OutboundCache.clearCaches
(OutboundCache.HashPair hashPair, Lease lease, TunnelInfo inTunnel, TunnelInfo outTunnel) Called on failure to give us a better chance of success next time.