java.lang.Object
net.i2p.router.web.helpers.ProfileOrganizerRenderer.ProfileSelection
- Enclosing class:
ProfileOrganizerRenderer
The sorted peer set, hidden-stale count, hide window, and pre-computed tier snapshots from
ProfileOrganizerRenderer.loadProfiles(int). The tier sets are local copies taken under the organizer read lock once, so renderers and comparators can use contains() without acquiring any locks.Field Summary
FieldsModifier and TypeFieldDescriptionSnapshot of fast-tier hashes, taken once under organizer read lock.(package private) final longHide window for stale profiles, 0 for none.Snapshot of high-capacity-tier hashes, taken once under organizer read lock.Snapshot of well-integrated hashes, taken once under organizer read lock.(package private) final intProfiles older than the display window.(package private) final Set<PeerProfile> The profiles in display order.Constructor Summary
ConstructorsConstructorDescriptionProfileSelection(Set<PeerProfile> order, int older, long hideWindow, Set<Hash> fastSet, Set<Hash> highCapSet, Set<Hash> integratedSet) The profiles and sets for one page.Method Summary
Field Details
order
The profiles in display order.older
final int olderProfiles older than the display window.hideWindow
final long hideWindowHide window for stale profiles, 0 for none.fastSet
highCapSet
integratedSet
Constructor Details
ProfileSelection
ProfileSelection(Set<PeerProfile> order, int older, long hideWindow, Set<Hash> fastSet, Set<Hash> highCapSet, Set<Hash> integratedSet) The profiles and sets for one page.- Parameters:
order- the profiles in display orderolder- the profiles older than the windowhideWindow- the age beyond which profiles are hiddenfastSet- the hashes of the fast peershighCapSet- the hashes of the high capacity peersintegratedSet- the hashes of the integrated peers