| Package | Description |
|---|---|
| net.i2p.router.peermanager |
Peer management, profiling, and capacity calculation for I2P network optimization.
|
| Modifier and Type | Method and Description |
|---|---|
PeerProfile |
ProfileOrganizer.addProfile(PeerProfile profile) |
(package private) PeerProfile |
ProfileOrganizer.getOrCreateProfileNonblocking(Hash peer) |
PeerProfile |
ProfileOrganizer.getProfile(Hash peer) |
PeerProfile |
ProfileOrganizer.getProfileNonblocking(Hash peer) |
PeerProfile |
ProfilePersistenceHelper.readProfile(File file,
long cutoff) |
| Modifier and Type | Method and Description |
|---|---|
List<PeerProfile> |
ProfilePersistenceHelper.readProfiles() |
| Modifier and Type | Method and Description |
|---|---|
PeerProfile |
ProfileOrganizer.addProfile(PeerProfile profile) |
static double |
SpeedCalculator.calc(PeerProfile profile) |
static double |
IntegrationCalculator.calc(PeerProfile profile) |
static double |
CapacityCalculator.calc(PeerProfile profile) |
int |
InverseCapacityComparator.compare(PeerProfile left,
PeerProfile right)
Compare the two objects backwards.
|
int |
SpeedComparator.compare(PeerProfile left,
PeerProfile right) |
boolean |
ProfilePersistenceHelper.writeProfile(PeerProfile profile)
write out the data from the profile to the file
|
void |
ProfilePersistenceHelper.writeProfile(PeerProfile profile,
OutputStream out)
write out the data from the profile to the stream
includes comments
|
void |
ProfilePersistenceHelper.writeProfile(PeerProfile profile,
OutputStream out,
boolean addComments)
write out the data from the profile to the stream
|