Skip to content

Commit

Permalink
fix some comment
Browse files Browse the repository at this point in the history
  • Loading branch information
congbo committed May 7, 2024
1 parent 5f3aaa2 commit e5a2438
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand Down Expand Up @@ -86,7 +87,9 @@ static BookKeeperBuilder newBuilder(final ClientConfiguration clientConfiguratio
*
* @return the metadata service is available.
*/
CompletableFuture<Boolean> isDriverMetadataServiceAvailable();
default CompletableFuture<Boolean> isDriverMetadataServiceAvailable() {
return FutureUtils.value(true);
}

/**
* Close the client and release every resource.
Expand Down

0 comments on commit e5a2438

Please sign in to comment.