|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.router.networkdb.kademlia.FloodThrottler
class FloodThrottler
Count how often we have recently flooded a key This offers basic DOS protection but is not a complete solution.
Constructor Summary | |
---|---|
FloodThrottler()
|
Method Summary | |
---|---|
(package private) boolean |
shouldThrottle(Hash h)
increments before checking |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
FloodThrottler()
Method Detail |
---|
boolean shouldThrottle(Hash h)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |