- <init>
- addOrUpdate
Updates a known peer, or adds the peer if it isn't known. If the bucket is full
and the replacement
- getEndId
- getPeers
- getStartId
- isFull
- remove
- shouldSplit
Returns true if the bucket needs to, AND can be split so a given Destination can
be added.
- size
- split
Splits the bucket in two by keeping all peers with a DHT key less thanpivot in
the existing bucket,
- add
Adds a peer to the tail of the bucket if it is locked, or to the head of the
bucket if it isn't lock
- addOrUpdateReplacement
Adds a peer to the head of the replacement cache, or makes it the head if it
exists in the replaceme