You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ff263fb
Browse filesBrowse the repository at this point in the historyBrowse files
refactor: simplify aggregator generics and make shutdown grace configurable
Aggregator only ever reduced lists of RateQuote, so the reply type parameter carried no information. Drop it and let the interface be Aggregator<R> over List<RateQuote>; update ScatterGather, the README snippets and the PUML diagram to match.
Also lift the hard-coded one second awaitTermination in close() into a field. The public constructor keeps the one second default; a package-private overload takes an explicit grace period so the test that closes a coordinator whose task ignores interrupts no longer pays a full second.
0 commit comments