## Uses of Interface
net.i2p.kademlia.KBucketTrimmer

- Packages that use KBucketTrimmer
  Package | Description
  --- | ---
  net.i2p.kademlia | Generic Kademlia distributed hash table implementation supporting multiple hash algorithms (SHA1, SHA256, etc.).
  org.klomp.snark.dht | Distributed Hash Table (DHT) implementation for BitTorrent.

- - ### Uses of KBucketTrimmer in net.i2p.kademlia

    Classes in net.i2p.kademlia that implement KBucketTrimmer
    Modifier and Type | Class and Description
    --- | ---
    `class` | `RandomIfOldTrimmer<T extends SimpleDataStructure>` Removes a random element, but only if the bucket hasn't changed in 5 minutes.
    `class` | `RandomTrimmer<T extends SimpleDataStructure>` Removes a random element.
    `class` | `RejectTrimmer<T extends SimpleDataStructure>` Removes nothing and always rejects the add.

    Constructors in net.i2p.kademlia with parameters of type KBucketTrimmer
    Constructor and Description
    `KBucketImpl(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 org.klomp.snark.dht

    Classes in org.klomp.snark.dht that implement KBucketTrimmer
    Modifier and Type | Class and Description
    --- | ---
    `(package private) class` | `KBTrimmer` Kademlia bucket trimmer for DHT node management.