Jean-Daniel Cryans has submitted this change and it was merged. Change subject: add async method to locate table ......................................................................
add async method to locate table Now AsyncKuduClient only have one method called syncLocateTable to locate table in a sync way, and it will block the user's thread, which is not friendly in asynchronous programming. This patch add another method to locate table asynchronously. Change-Id: I0868ed77366ff7d45f92f99dfd033c244d53b48f Reviewed-on: http://gerrit.cloudera.org:8080/1916 Reviewed-by: Jean-Daniel Cryans Tested-by: Jean-Daniel Cryans --- M java/kudu-client/src/main/java/org/kududb/client/AsyncKuduClient.java M java/kudu-client/src/main/java/org/kududb/client/KuduTable.java M java/kudu-client/src/test/java/org/kududb/client/TestKuduTable.java 3 files changed, 106 insertions(+), 43 deletions(-) Approvals: Jean-Daniel Cryans: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/1916 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: I0868ed77366ff7d45f92f99dfd033c244d53b48f Gerrit-PatchSet: 3 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: zhen.zhang <[email protected]> Gerrit-Reviewer: Jean-Daniel Cryans Gerrit-Reviewer: zhen.zhang <[email protected]>
