jkosh44 commented on issue #967: Prototype adding async get methods to 
Transaction
URL: https://github.com/apache/fluo/issues/967#issuecomment-344105066
 
 
   I'm a bit new to multi-threading so apologies if any of these questions seem 
basic.
   
   I think I understand your idea and am going to start working on it. My 
question is though why can't we do something like this:
   ```
       default CompletableFuture<String> getsAsync(String row, Column column) {
         return CompletableFuture.supplyAsync(() -> gets(row, column));
       }
   ```
   Is the idea that we want to run each get method sequentially but as a whole 
do them asynchronously from everything else?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to