This is an automated email from the ASF dual-hosted git repository.

shoothzj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new 8427442780 fix description of 
BookKeeperAdmin#watchWritableBookiesChanged (#4254)
8427442780 is described below

commit 84274427802a8861638abc560844a3ddee739e47
Author: thetumbled <[email protected]>
AuthorDate: Mon Apr 1 19:39:19 2024 +0800

    fix description of BookKeeperAdmin#watchWritableBookiesChanged (#4254)
    
    ### Motivation
    The implementation of  is not consistent with the description.
    
    
    ### Changes
    fix doc.
    
    Master Issue: https://github.com/apache/bookkeeper/issues/4253
---
 .../src/main/java/org/apache/bookkeeper/client/BookKeeperAdmin.java | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git 
a/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/BookKeeperAdmin.java
 
b/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/BookKeeperAdmin.java
index 51f0425935..1df915f650 100644
--- 
a/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/BookKeeperAdmin.java
+++ 
b/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/BookKeeperAdmin.java
@@ -276,8 +276,7 @@ public class BookKeeperAdmin implements AutoCloseable {
 
     /**
      * Notify when the available list of bookies changes.
-     * This is a one-shot notification. To receive subsequent notifications
-     * the listener must be registered again.
+     * Once registered, the listener will be notified when the list of 
available bookies changes.
      *
      * @param listener the listener to notify
      */
@@ -291,8 +290,7 @@ public class BookKeeperAdmin implements AutoCloseable {
 
     /**
      * Notify when the available list of read only bookies changes.
-     * This is a one-shot notification. To receive subsequent notifications
-     * the listener must be registered again.
+     * Once registered, the listener will be notified when the list of 
available bookies changes.
      *
      * @param listener the listener to notify
      */

Reply via email to