Revisiting 9b7b1364 a bit.
Since ConsistentHash is written as a mutable class, I think a better way to fit the existing design is to provide a bulk add operation. It already has several methods to that end, so I just added one more that's needed for our purpose.
Showing
想要评论请 注册 或 登录