Uses of Class
net.i2p.router.networkdb.kademlia.SearchJob
Package
Description
The network database, including implementation of floodfills.
-
Uses of SearchJob in net.i2p.router.networkdb.kademlia
Modifier and TypeClassDescription(package private) class
Search for a particular key iteratively until we either find a value, we run out of peers, or the bucket the key belongs in has sufficient values in it.Modifier and TypeMethodDescription(package private) SearchJob
FloodfillNetworkDatabaseFacade.search
(Hash key, Job onFindJob, Job onFailedLookupJob, long timeoutMs, boolean isLease) Lookup using exploratory tunnels.(package private) SearchJob
FloodfillNetworkDatabaseFacade.search
(Hash key, Job onFindJob, Job onFailedLookupJob, long timeoutMs, boolean isLease, Hash fromLocalDest) Lookup using the client's tunnels.(package private) SearchJob
KademliaNetworkDatabaseFacade.search
(Hash key, Job onFindJob, Job onFailedLookupJob, long timeoutMs, boolean isLease) Begin a kademlia style search for the key specified, which can take up to timeoutMs and will fire the appropriate jobs on success or timeout (or if the kademlia search completes without any match) Unused - called only by FNDF.searchFull() from FloodSearchJob which is overridden - don't use this.(package private) SearchJob
KademliaNetworkDatabaseFacade.search
(Hash key, Job onFindJob, Job onFailedLookupJob, long timeoutMs, boolean isLease, Hash fromLocalDest) Unused - see FNDFModifierConstructorDescriptionSearchReplyJob
(RouterContext enclosingContext, SearchJob job, DatabaseSearchReplyMessage message, Hash peer, long duration) SearchUpdateReplyFoundJob
(RouterContext context, RouterInfo peer, SearchState state, KademliaNetworkDatabaseFacade facade, SearchJob job) SearchUpdateReplyFoundJob
(RouterContext context, RouterInfo peer, SearchState state, KademliaNetworkDatabaseFacade facade, SearchJob job, TunnelInfo outTunnel, TunnelInfo replyTunnel)