ivankelly commented on a change in pull request #970: ISSUE #966: Expose quorum 
write complete latency to the client
URL: https://github.com/apache/bookkeeper/pull/970#discussion_r164166107
 
 

 ##########
 File path: 
bookkeeper-server/src/main/java/org/apache/bookkeeper/client/AsyncCallback.java
 ##########
 @@ -48,6 +48,24 @@
          *          context object
          */
         void addComplete(int rc, LedgerHandle lh, long entryId, Object ctx);
+
+        /**
+         * Callback declaration which additionally passes quorum write 
complete latency.
+         *
+         * @param rc
+         *          return code
+         * @param lh
+         *          ledger handle
+         * @param entryId
+         *          entry identifier
+         * @param qwcLatency
+         *          QuorumWriteComplete Latency
+         * @param ctx
+         *          context object
+         */
+        default void addCompleteAdv(int rc, LedgerHandle lh, long entryId, 
long qwcLatency, Object ctx) {
 
 Review comment:
   I wonder if it's possible to put the Stability.Evolving annotation on a 
single method.

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