java.lang.Object
net.i2p.router.peermanager.ProfileOrganizer.CandidateSet
- Enclosing class:
ProfileOrganizer
Result of
ProfileOrganizer.buildCandidateProfiles(long, long, long, long, long): the candidate set plus the totals and counts consumed by the threshold and logging sections.Field Summary
FieldsModifier and TypeFieldDescription(package private) final intCandidates whose profiles have expired.(package private) final intTotal profiles held by the organizer.(package private) final Set<PeerProfile> The candidate profiles.(package private) final doubleTotal integration value across the candidates.Constructor Summary
ConstructorsConstructorDescriptionCandidateSet(Set<PeerProfile> profiles, double totalIntegration, int expiredCount, int profileCount) Holds one candidate pool and its totals.Method Summary
Field Details
profiles
The candidate profiles.totalIntegration
final double totalIntegrationTotal integration value across the candidates.expiredCount
final int expiredCountCandidates whose profiles have expired.profileCount
final int profileCountTotal profiles held by the organizer.
Constructor Details
CandidateSet
CandidateSet(Set<PeerProfile> profiles, double totalIntegration, int expiredCount, int profileCount) Holds one candidate pool and its totals.- Parameters:
profiles- the candidate profilestotalIntegration- integration summed over the candidatesexpiredCount- candidates with expired profilesprofileCount- total profiles held