Packages that use LookupBanHammer.ReplyTunnel
Package
Description
The Kademlia distributed hash table (DHT) network database: lookup, store and explore jobs, the data store, the floodfill variants, and lookup throttling.
Uses of LookupBanHammer.ReplyTunnel in net.i2p.router.networkdb.kademlia
Fields in net.i2p.router.networkdb.kademlia with type parameters of type LookupBanHammer.ReplyTunnelModifier and TypeFieldDescriptionprivate final ConcurrentHashMap<LookupBanHammer.ReplyTunnel, Long> LookupBanHammer.banExpirationThe banned reply tunnels, by expiry time.private final ConcurrentHashMap<LookupBanHammer.ReplyTunnel, ConcurrentLinkedDeque<Long>> LookupBanHammer.burstTimestampsThe lookup counts, by reply tunnel.Methods in net.i2p.router.networkdb.kademlia with parameters of type LookupBanHammer.ReplyTunnelModifier and TypeMethodDescriptionprivate booleanLookupBanHammer.imposeBan(LookupBanHammer.ReplyTunnel rt, long now) Record a ban, evicting the oldest if at capacity.private booleanLookupBanHammer.isBanned(LookupBanHammer.ReplyTunnel rt, long now) Check whether the requester has an active ban.