mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-25 21:43:49 +00:00
in addition to the race column names for which to load details, added a parameter addOverallDetails
that controls whether a leaderboardDTO shall have overall details; the leaderboard cache and the LiveLeaderboardUpdater consider this parameter in how they cache their DTOs.
This commit is contained in:
1 parent
17a16f4ecd
commit
e19209a61c
13 files changed
+118
-71
No files matched your search
+1
-1
@@ -104,7 +104,7 @@ public class LeaderboardsResource extends AbstractSailingServerResource {
|
||||
private JSONObject getLeaderboardJson(Leaderboard leaderboard, Triple<TimePoint, ResultStates, Integer> timePointAndResultStateAndMaxCompetitorsCount)
|
||||
throws NoWindException, InterruptedException, ExecutionException {
|
||||
LeaderboardDTO leaderboardDTO = leaderboard.getLeaderboardDTO(timePointAndResultStateAndMaxCompetitorsCount.getA(),
|
||||
Collections.<String> emptyList(), getService(), getService().getBaseDomainFactory());
|
||||
Collections.<String> emptyList(), /* addOverallDetails */ false, getService(), getService().getBaseDomainFactory());
|
||||
|
||||
TimePoint resultTimePoint = timePointAndResultStateAndMaxCompetitorsCount.getA();
|
||||
ResultStates resultState = timePointAndResultStateAndMaxCompetitorsCount.getB();
|
||||
|
||||
Reference in new issue
Block a user