|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use KBucket | |
---|---|
net.i2p.kademlia | This is a major rewrite of KBucket, KBucketSet, and KBucketImpl from net.i2p.router.networkdb.kademlia. |
org.klomp.snark.dht |
Uses of KBucket in net.i2p.kademlia |
---|
Classes in net.i2p.kademlia that implement KBucket | |
---|---|
(package private) class |
KBucketImpl<T extends SimpleDataStructure>
A concurrent implementation using ConcurrentHashSet. |
Methods in net.i2p.kademlia that return types with arguments of type KBucket | |
---|---|
(package private) List<KBucket<T>> |
KBucketSet.getBuckets()
Returned list is a copy of the bucket list, closest first, with the actual buckets (not a copy). |
Methods in net.i2p.kademlia with parameters of type KBucket | |
---|---|
(package private) T |
KBucketSet.generateRandomKey(KBucket<T> bucket)
Generate a random key to go within this bucket Package private for testing only. |
boolean |
KBucketTrimmer.trim(KBucket<K> kbucket,
K toAdd)
Called from add() just before adding the entry. |
boolean |
RandomIfOldTrimmer.trim(KBucket<T> kbucket,
T toAdd)
|
boolean |
RandomTrimmer.trim(KBucket<T> kbucket,
T toAdd)
|
boolean |
RejectTrimmer.trim(KBucket<T> kbucket,
T toAdd)
|
Uses of KBucket in org.klomp.snark.dht |
---|
Methods in org.klomp.snark.dht with parameters of type KBucket | |
---|---|
boolean |
KBTrimmer.trim(KBucket<NID> kbucket,
NID toAdd)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |