Packages that use KademliaNetworkDatabaseFacade
Package
Description
The Kademlia distributed hash table (DHT) network database: lookup, store and explore jobs, the data store, the floodfill variants, and lookup throttling.
Uses of KademliaNetworkDatabaseFacade in net.i2p.router.networkdb.kademlia
Subclasses of KademliaNetworkDatabaseFacade in net.i2p.router.networkdb.kademliaModifier and TypeClassDescriptionclassThe Kademlia network database, using floodfill participants as the only storage tier.Fields in net.i2p.router.networkdb.kademlia declared as KademliaNetworkDatabaseFacadeModifier and TypeFieldDescriptionprivate final KademliaNetworkDatabaseFacadeExpireLeasesJob._facadeThe facade whose leases expire.private final KademliaNetworkDatabaseFacadeExpireRoutersJob._facadeThe store whose entries are expired.private final KademliaNetworkDatabaseFacadeFloodfillPeerSelector._facadeThe floodfill's own database facade.private final KademliaNetworkDatabaseFacadeKademliaNetworkDatabaseFacade.RefreshClientLeaseSetsJob._facadeReference to the Kademlia facade.private final KademliaNetworkDatabaseFacadePersistentDataStore._facadeReference to the Kademlia facade for netdb operations.private final KademliaNetworkDatabaseFacadeRepublishLeaseSetJob._facadeKademlia network database facade instance.protected final KademliaNetworkDatabaseFacadeSearchJob._facadeNetwork database facade for peer lookups and storage.private final KademliaNetworkDatabaseFacadeSearchUpdateReplyFoundJob._facadeThe network database facade.private final KademliaNetworkDatabaseFacadeStartExplorersJob._facadeThe facade the explorers serve.private final KademliaNetworkDatabaseFacadeStoreJob._facadeReference to the network database facade.Methods in net.i2p.router.networkdb.kademlia that return KademliaNetworkDatabaseFacadeModifier and TypeMethodDescriptionprotected KademliaNetworkDatabaseFacadeSearchJob.getFacade()Get the netdb that started this search.private KademliaNetworkDatabaseFacadeKademliaNetworkDatabaseFacade.getMainFacade()Main (router) NetDb facade, or null if unavailable.Constructors in net.i2p.router.networkdb.kademlia with parameters of type KademliaNetworkDatabaseFacadeModifierConstructorDescriptionExpireLeasesJob(RouterContext ctx, KademliaNetworkDatabaseFacade facade) Opens the job log and remembers the facade whose leasesets are expired.ExpireRoutersJob(RouterContext ctx, KademliaNetworkDatabaseFacade facade) Expire outdated routers from the network database.ExploreJob(RouterContext context, KademliaNetworkDatabaseFacade facade, Hash key, boolean isRealExplore, long msgIDBloomXor) New exploratory search with the given parameters and calculated concurrency level.Binds the facade and prepares the ban logger.PersistentDataStore(RouterContext ctx, String dbDir, KademliaNetworkDatabaseFacade facade) Creates a new persistent data store.Refreshes the client lease sets periodically.RepublishLeaseSetJob(RouterContext ctx, KademliaNetworkDatabaseFacade facade, Hash destHash) Creates a new job to republish a LeaseSet for the given destination.SearchJob(RouterContext context, KademliaNetworkDatabaseFacade facade, Hash key, Job onSuccess, Job onFailure, long timeoutMs, boolean keepStats, boolean isLease, long msgIDBloomXor) Create a new search for the routingKey specified.SearchUpdateReplyFoundJob(RouterContext context, RouterInfo peer, SearchState state, KademliaNetworkDatabaseFacade facade, SearchJob job) Create job with no tunnel info.SearchUpdateReplyFoundJob(RouterContext context, RouterInfo peer, SearchState state, KademliaNetworkDatabaseFacade facade, SearchJob job, TunnelInfo outTunnel, TunnelInfo replyTunnel) Create job with tunnel info for reply routing.StartExplorersJob(RouterContext context, KademliaNetworkDatabaseFacade facade) Job to manage peer exploration scheduling.StoreJob(RouterContext context, KademliaNetworkDatabaseFacade facade, Hash key, DatabaseEntry data, Job onSuccess, Job onFailure, long timeoutMs) Send a data structure to the floodfills.StoreJob(RouterContext context, KademliaNetworkDatabaseFacade facade, Hash key, DatabaseEntry data, Job onSuccess, Job onFailure, long timeoutMs, Set<Hash> toSkip) Send a data structure to the floodfills, skipping certain peers.