Class Summary |
DataPublisherJob |
|
DataRepublishingSelectorJob |
|
ExpireLeasesJob |
Periodically search through all leases to find expired ones, failing those
keys and firing up a new search for each (in case we want it later, might as
well preemptively fetch it) |
ExpireRoutersJob |
Go through the routing table pick routers that are performing poorly or
is out of date, but don't expire routers we're actively tunneling through. |
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. |
ExploreKeySelectorJob |
Go through the kbuckets and generate random keys for routers in buckets not
yet full, attempting to keep a pool of keys we can explore with (at least one
per bucket) |
HarvesterJob |
Simple job to try to keep our peer references up to date by aggressively
requerying them every few minutes. |
KademliaNetworkDatabaseFacade |
Kademlia based version of the network database |
KBucketImpl |
|
KBucketSet |
In memory storage of buckets sorted by the XOR metric from the local router's
identity, with bucket N containing routers BASE^N through BASE^N+1 away, up through
2^256 bits away (since we use SHA256). |
PeerSelector |
|
PersistentDataStore |
Write out keys to disk when we get them and periodically read ones we don't know
about into memory, with newly read routers are also added to the routing table. |
RepublishLeaseSetJob |
Run periodically for each locally created leaseSet to cause it to be republished
if the client is still connected. |
RouterGenerator |
|
SearchJob |
Search for a particular key iteratively until we either find a value or we
run out of peers |
SearchMessageSelector |
Check to see the message is a reply from the peer regarding the current
search |
SearchState |
Data related to a particular search |
SearchUpdateReplyFoundJob |
Called after a match to a db search is found |
StartExplorersJob |
Fire off search jobs for random keys from the explore pool, up to MAX_PER_RUN
at a time. |
StoreJob |
|
StoreMessageSelector |
Check to see the message is a reply from the peer regarding the current
store |
StoreState |
|
TransientDataStore |
|
XORComparator |
Help sort Hashes in relation to a base key using the XOR metric |