Uses of Interface
net.i2p.kademlia.KBucket
Packages that use KBucket
Package
Description
This is a major rewrite of KBucket, KBucketSet, and KBucketImpl from net.i2p.router.networkdb.kademlia.
-
Uses of KBucket in net.i2p.kademlia
Classes in net.i2p.kademlia that implement KBucketModifier and TypeClassDescription(package private) class
KBucketImpl<T extends SimpleDataStructure>
A concurrent implementation using ConcurrentHashSet.Methods in net.i2p.kademlia that return types with arguments of type KBucketModifier and TypeMethodDescriptionKBucketSet.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 TypeMethodDescription(package private) T
KBucketSet.generateRandomKey
(KBucket<T> bucket) Generate a random key to go within this bucket Package private for testing only.boolean
Called from add() just before adding the entry.boolean
boolean
boolean
-
Uses of KBucket in org.klomp.snark.dht
Methods in org.klomp.snark.dht with parameters of type KBucket