パッケージ | 説明 |
---|---|
net.i2p.router.peermanager |
The peer manager logs information about the history and quality of network peers.
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
PeerProfile |
ProfileOrganizer.addProfile(PeerProfile profile) |
Add the new profile, returning the old value (or null if no profile existed)
|
PeerProfile |
ProfileOrganizer.getProfile(Hash peer) |
Retrieve the profile for the given peer, if one exists (else null).
|
PeerProfile |
ProfileOrganizer.getProfileNonblocking(Hash peer) |
Retrieve the profile for the given peer, if one exists (else null).
|
PeerProfile |
ProfilePersistenceHelper.readProfile(java.io.File file) |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
java.util.Set<PeerProfile> |
ProfilePersistenceHelper.readProfiles() |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
PeerProfile |
ProfileOrganizer.addProfile(PeerProfile profile) |
Add the new profile, returning the old value (or null if no profile existed)
|
static double |
CapacityCalculator.calc(PeerProfile profile) |
|
static double |
IntegrationCalculator.calc(PeerProfile profile) |
|
static double |
SpeedCalculator.calc(PeerProfile profile) |
|
int |
InverseCapacityComparator.compare(PeerProfile left,
PeerProfile right) |
Compare the two objects backwards.
|
int |
SpeedComparator.compare(PeerProfile left,
PeerProfile right) |
|
void |
ProfilePersistenceHelper.writeProfile(PeerProfile profile) |
write out the data from the profile to the stream
|
void |
ProfilePersistenceHelper.writeProfile(PeerProfile profile,
java.io.OutputStream out) |
write out the data from the profile to the stream
|