Packages that use KBucket
Package
Description
Generic Kademlia distributed hash table implementation supporting multiple hash algorithms (SHA1, SHA256 and others).
The Kademlia distributed hash table (DHT) network database: lookup, store and explore jobs, the data store, the floodfill variants, and lookup throttling.
BitTorrent distributed hash table (DHT) implementation following the Mainline protocol, for trackerless peer discovery.
Uses of KBucket in net.i2p.kademlia
Classes in net.i2p.kademlia that implement KBucketModifier and TypeClassDescription(package private) classKBucketImpl<T extends SimpleDataStructure>A concurrent implementation usingConcurrentHashSet.private static classKBucketSet.DummyBucket<T extends SimpleDataStructure>For Collections.binarySearch.Classes in net.i2p.kademlia that implement interfaces with type arguments of type KBucketModifier and TypeClassDescriptionprivate static classKBucketSet.BucketComparator<T extends SimpleDataStructure>For Collections.binarySearch.Fields in net.i2p.kademlia with type parameters of type KBucketModifier and TypeFieldDescriptionKBucketSet._bucketsThe bucket list is locked by _bucketsLock, however the individual buckets are not locked.Methods in net.i2p.kademlia that return KBucketModifier and TypeMethodDescriptionKBucketSet.createBucket(int start, int end) Builds one bucket covering a range.The bucket that the xor of the key goes in Caller must hold read lock.Methods in net.i2p.kademlia that return types with arguments of type KBucketModifier and TypeMethodDescriptionKBucketSet.createBuckets()Builds the initial bucket list.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 KBucketModifier and TypeMethodDescriptionint(package private) TKBucketSet.generateRandomKey(KBucket<T> bucket) Generate a random key to go within this bucket Package private for testing only.private booleanKBucketSet.shouldSplit(KBucket<T> b) No lock required.booleanCalled from add() just before adding the entry.booleanbooleanbooleanUses of KBucket in net.i2p.router.networkdb.kademlia
Methods in net.i2p.router.networkdb.kademlia with parameters of type KBucketUses of KBucket in org.klomp.snark.dht
Methods in org.klomp.snark.dht with parameters of type KBucket