Class SearchJob.FailedJob
java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.networkdb.kademlia.SearchJob.FailedJob
- All Implemented Interfaces:
Job
- Enclosing class:
SearchJob
Called when a particular peer failed to respond before the timeout was
reached, or if the peer could not be contacted at all.
-
Constructor Summary
ConstructorDescriptionFailedJob
(RouterContext enclosingContext, RouterInfo peer) FailedJob
(RouterContext enclosingContext, RouterInfo peer, boolean penalizePeer) Allow the choice as to whether failed searches should count against the peer (such as if we search for a random key) -
Method Summary
Methods inherited from class net.i2p.router.JobImpl
dropped, getAddedBy, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, madeReady, requeue, toString
-
Constructor Details
-
FailedJob
-
FailedJob
Allow the choice as to whether failed searches should count against the peer (such as if we search for a random key)
-
-
Method Details