Package | Description |
---|---|
net.i2p.router.message |
Creates and parses garlic messages.
|
Modifier and Type | Field and Description |
---|---|
(package private) Map<OutboundCache.HashPair,TunnelInfo> |
OutboundCache.backloggedTunnelCache |
(package private) Map<OutboundCache.HashPair,Long> |
OutboundCache.lastReplyRequestCache
This cache is used to ensure that we request a reply every so often.
|
(package private) ConcurrentHashMap<OutboundCache.HashPair,Lease> |
OutboundCache.leaseCache
Use the same inbound tunnel (i.e.
|
(package private) Map<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) 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 Type | Method and Description |
---|---|
(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.
|