Uses of Class
net.i2p.router.peermanager.PeerProfile
Package | Description |
---|---|
net.i2p.router.peermanager |
The peer manager logs information about the history and quality of network peers.
|
-
Uses of PeerProfile in net.i2p.router.peermanager
Methods in net.i2p.router.peermanager that return PeerProfile Modifier and Type Method Description PeerProfile
ProfileOrganizer. addProfile(PeerProfile profile)
Add the new profile, returning the old value (or null if no profile existed)(package private) PeerProfile
ProfileOrganizer. getOrCreateProfileNonblocking(Hash peer)
Retrieve the profile for the given peer, if one exists.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(File file)
Methods in net.i2p.router.peermanager that return types with arguments of type PeerProfile Modifier and Type Method Description Set<PeerProfile>
ProfilePersistenceHelper. readProfiles()
Methods in net.i2p.router.peermanager with parameters of type PeerProfile Modifier and Type Method Description 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 filevoid
ProfilePersistenceHelper. writeProfile(PeerProfile profile, OutputStream out)
write out the data from the profile to the stream includes commentsvoid
ProfilePersistenceHelper. writeProfile(PeerProfile profile, OutputStream out, boolean addComments)
write out the data from the profile to the stream