Uses of Class
net.i2p.router.peermanager.PeerProfile
Packages that use PeerProfile
Package
Description
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 PeerProfileModifier and TypeMethodDescriptionProfileOrganizer.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.ProfileOrganizer.getProfile
(Hash peer) Retrieve the profile for the given peer, if one exists (else null).ProfileOrganizer.getProfileNonblocking
(Hash peer) Retrieve the profile for the given peer, if one exists (else null).ProfilePersistenceHelper.readProfile
(File file) Methods in net.i2p.router.peermanager that return types with arguments of type PeerProfileMethods in net.i2p.router.peermanager with parameters of type PeerProfileModifier and TypeMethodDescriptionProfileOrganizer.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