KUDU-1420. client: remove unimplemented ApplyAsync() method

This was never implemented, and doesn't seem to have value as
documentation of a non-existent method.

Change-Id: If5006994039d13055a71235ebf4aa547329d35aa
Reviewed-on: http://gerrit.cloudera.org:8080/4332
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/1de46297
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/1de46297
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/1de46297

Branch: refs/heads/master
Commit: 1de46297f1d1a9bc45cb8ce0a8567dc7c9c23ca4
Parents: ec80fdb
Author: Todd Lipcon <[email protected]>
Authored: Wed Sep 7 19:40:03 2016 -0700
Committer: Todd Lipcon <[email protected]>
Committed: Thu Sep 8 21:02:55 2016 +0000

----------------------------------------------------------------------
 src/kudu/client/client.h | 17 -----------------
 1 file changed, 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/1de46297/src/kudu/client/client.h
----------------------------------------------------------------------
diff --git a/src/kudu/client/client.h b/src/kudu/client/client.h
index b808ced..4b835f3 100644
--- a/src/kudu/client/client.h
+++ b/src/kudu/client/client.h
@@ -1327,23 +1327,6 @@ class KUDU_EXPORT KuduSession : public 
sp::enable_shared_from_this<KuduSession>
   /// @return Operation result status.
   Status Apply(KuduWriteOperation* write_op) WARN_UNUSED_RESULT;
 
-  /// Apply the write operation asynchronously.
-  ///
-  /// This method is similar to Apply(), except it never blocks. Even in the
-  /// flush modes that return immediately, @c cb is triggered with the result.
-  /// The callback may be called by a reactor thread, or in some cases
-  /// may be called inline by the same thread which calls ApplyAsync().
-  ///
-  /// @param [in] write_op
-  ///   Operation to apply. This method transfers the write_op's ownership
-  ///   to the KuduSession.
-  /// @param [in] cb
-  ///   Callback to report the status of the operation. The @c cb object
-  ///   must remain valid until it is called.
-  ///
-  /// @warning Not yet implemented.
-  void ApplyAsync(KuduWriteOperation* write_op, KuduStatusCallback* cb);
-
   /// Flush any pending writes.
   ///
   /// This method initiates flushing of the current batch of buffered

Reply via email to