Packages that use KBucketTrimmer
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 KBucketTrimmer in net.i2p.kademlia
Classes in net.i2p.kademlia that implement KBucketTrimmerModifier and TypeClassDescriptionclassRandomIfOldTrimmer<T extends SimpleDataStructure>Removes a random element, but only if the bucket hasn't changed in 5 minutes.classRandomTrimmer<T extends SimpleDataStructure>Removes a random element.classRejectTrimmer<T extends SimpleDataStructure>Removes nothing and always rejects the add.Fields in net.i2p.kademlia declared as KBucketTrimmerModifier and TypeFieldDescriptionprivate final KBucketTrimmer<T> KBucketImpl._trimmerChooses which contact to drop when the bucket is full.private final KBucketTrimmer<T> KBucketSet._trimmerTrimmer deciding which entries to drop.Constructors in net.i2p.kademlia with parameters of type KBucketTrimmerModifierConstructorDescriptionKBucketImpl(I2PAppContext context, int begin, int end, int max, KBucketTrimmer<T> trimmer) All entries in this bucket will have at least one bit different from us in the range [begin, end] inclusive.KBucketSet(I2PAppContext context, T us, int max, int b, KBucketTrimmer<T> trimmer) Use the supplied trim strategy.Uses of KBucketTrimmer in net.i2p.router.networkdb.kademlia
Classes in net.i2p.router.networkdb.kademlia that implement KBucketTrimmerModifier and TypeClassDescription(package private) classEvicts the least-recently-attested peer from a full routing bucket so the netdb routing table rotates toward live peers instead of filling with dead-but-unexpired routers.Uses of KBucketTrimmer in org.klomp.snark.dht
Classes in org.klomp.snark.dht that implement KBucketTrimmerModifier and TypeClassDescription(package private) classKademlia bucket trimmer for DHT node management.