|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.router.networkdb.kademlia.PeerSelector
net.i2p.router.networkdb.kademlia.FloodfillPeerSelector
class FloodfillPeerSelector
Field Summary |
---|
Fields inherited from class net.i2p.router.networkdb.kademlia.PeerSelector |
---|
_context, _log |
Constructor Summary | |
---|---|
FloodfillPeerSelector(RouterContext ctx)
|
Method Summary | |
---|---|
java.util.List |
selectFloodfillParticipants(KBucketSet kbuckets)
|
java.util.List |
selectNearestExplicitThin(Hash key,
int maxNumRouters,
java.util.Set peersToIgnore,
KBucketSet kbuckets)
Pick out peers with the floodfill capacity set, returning them first, but then after they're complete, sort via kademlia. |
Methods inherited from class net.i2p.router.networkdb.kademlia.PeerSelector |
---|
getDistance, selectMostReliablePeers, selectNearest, selectNearestExplicit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FloodfillPeerSelector(RouterContext ctx)
Method Detail |
---|
public java.util.List selectNearestExplicitThin(Hash key, int maxNumRouters, java.util.Set peersToIgnore, KBucketSet kbuckets)
selectNearestExplicitThin
in class PeerSelector
public java.util.List selectFloodfillParticipants(KBucketSet kbuckets)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |