dcapwell commented on code in PR #169:
URL: https://github.com/apache/cassandra-accord/pull/169#discussion_r1953034324
##########
accord-core/src/main/java/accord/topology/TopologyManager.java:
##########
@@ -469,6 +554,35 @@ public TopologyManager(TopologySorter.Supplier sorter,
Agent agent, Id self, Sch
this.localConfig = localConfig;
}
+ public EpochsSnapshot epochsSnapshot()
+ {
+ ImmutableList.Builder<EpochsSnapshot.Epoch> builder =
ImmutableList.builder();
Review Comment:
TIL: `ImmutableList.builderWithExpectedSize`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]