aweisberg commented on code in PR #7:
URL: https://github.com/apache/cassandra-accord/pull/7#discussion_r1014226420


##########
accord-core/src/main/java/accord/api/Key.java:
##########
@@ -21,10 +21,7 @@
 /**
  * A routing key for determining which shards are involved in a transaction
  */
-public interface Key extends Comparable<Key>
+public interface Key extends RoutingKey
 {
-    /**
-     * Returns a hash code of a key to support accord internal sharding. Hash 
values for equal keys must be equal.
-     */
-    int routingHash();
+    RoutingKey toRoutingKey();

Review Comment:
   Ok, made a note in my Routables review



-- 
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]

Reply via email to