From e5a24381301aaa5ec8a212335e7727103499f201 Mon Sep 17 00:00:00 2001 From: congbo Date: Tue, 7 May 2024 11:30:25 +0800 Subject: [PATCH] fix some comment --- .../java/org/apache/bookkeeper/client/api/BookKeeper.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/api/BookKeeper.java b/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/api/BookKeeper.java index 7b041d9a70c..44c2b7b554a 100644 --- a/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/api/BookKeeper.java +++ b/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/api/BookKeeper.java @@ -24,6 +24,7 @@ import org.apache.bookkeeper.client.impl.BookKeeperBuilderImpl; import org.apache.bookkeeper.common.annotation.InterfaceAudience.Public; import org.apache.bookkeeper.common.annotation.InterfaceStability.Unstable; +import org.apache.bookkeeper.common.concurrent.FutureUtils; import org.apache.bookkeeper.conf.ClientConfiguration; /** @@ -86,7 +87,9 @@ static BookKeeperBuilder newBuilder(final ClientConfiguration clientConfiguratio * * @return the metadata service is available. */ - CompletableFuture isDriverMetadataServiceAvailable(); + default CompletableFuture isDriverMetadataServiceAvailable() { + return FutureUtils.value(true); + } /** * Close the client and release every resource.