Class FloodThrottler
- java.lang.Object
-
- net.i2p.router.networkdb.kademlia.FloodThrottler
-
class FloodThrottler extends Object
Count how often we have recently flooded a key This offers basic DOS protection but is not a complete solution.- Since:
- 0.7.11
-
-
Constructor Summary
Constructors Constructor Description FloodThrottler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) boolean
shouldThrottle(Hash h)
increments before checking
-
-
-
Method Detail
-
shouldThrottle
boolean shouldThrottle(Hash h)
increments before checking
-
-