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


##########
accord-core/src/main/java/accord/messages/LocalRequest.java:
##########
@@ -19,13 +19,19 @@
 
 import accord.local.Node;
 import accord.local.PreLoadContext;
+import accord.local.SafeCommandStore;
+import accord.utils.MapReduceConsume;
 
-public interface LocalMessage extends Message, PreLoadContext
+import java.util.function.BiConsumer;
+
+public interface LocalRequest<R> extends Request, PreLoadContext, 
MapReduceConsume<SafeCommandStore, Void>
 {
+    void process(Node on, BiConsumer<R, Throwable> callback);
+
+    BiConsumer<R, Throwable> callback();
+
     interface Handler
     {
-        void handle(LocalMessage message, Node node);
+        void handle(LocalRequest<?> message, Node node);
     }
-
-    void process(Node node);

Review Comment:
   I don't understand what I was asking here...



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