fluo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] jkosh44 commented on issue #967: Prototype adding async get methods to Transaction
Date Thu, 01 Jan 1970 00:00:00 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message