Uses of Class
net.i2p.router.networkdb.kademlia.SearchJob
Package | Description |
---|---|
net.i2p.router.networkdb.kademlia |
The network database, including implementation of floodfills.
|
-
Uses of SearchJob in net.i2p.router.networkdb.kademlia
Subclasses of SearchJob in net.i2p.router.networkdb.kademlia Modifier and Type Class Description (package private) class
ExploreJob
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.Methods in net.i2p.router.networkdb.kademlia that return SearchJob Modifier and Type Method Description (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 FNDFConstructors in net.i2p.router.networkdb.kademlia with parameters of type SearchJob Constructor Description SearchReplyJob(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)