You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by mm...@apache.org on 2022/10/31 21:01:42 UTC
[bookkeeper] branch master updated: Correct link class name (#3594)
This is an automated email from the ASF dual-hosted git repository.
mmerli 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 9efd606d1c Correct link class name (#3594)
9efd606d1c is described below
commit 9efd606d1cf1a2f4573606335490548f59b083c2
Author: gaozhangmin <ga...@qq.com>
AuthorDate: Tue Nov 1 05:01:37 2022 +0800
Correct link class name (#3594)
Co-authored-by: gavingaozhangmin <ga...@didiglobal.com>
---
.../org/apache/bookkeeper/meta/LedgerManager.java | 27 +++++++++++++---------
1 file changed, 16 insertions(+), 11 deletions(-)
diff --git a/bookkeeper-server/src/main/java/org/apache/bookkeeper/meta/LedgerManager.java b/bookkeeper-server/src/main/java/org/apache/bookkeeper/meta/LedgerManager.java
index a76e244997..20d61066cd 100644
--- a/bookkeeper-server/src/main/java/org/apache/bookkeeper/meta/LedgerManager.java
+++ b/bookkeeper-server/src/main/java/org/apache/bookkeeper/meta/LedgerManager.java
@@ -48,9 +48,10 @@ public interface LedgerManager extends Closeable {
* Metadata provided when creating the new ledger
* @return Future which, when completed returns the metadata of the newly created ledger.
* Completed with an exception:<ul>
- * <li>{@link BKException.BKLedgerExistException} if given ledger id exist</li>
- * <li>{@link BKException.BKZKException}/{@link BKException.BKMetaStoreException} for other issues</li>
- * </ul>
+ * <li>{@link org.apache.bookkeeper.client.BKException.BKLedgerExistException} if given ledger id exist</li>
+ * <li>{@link org.apache.bookkeeper.client.BKException.ZKException}
+ * /{@link org.apache.bookkeeper.client.BKException.BKMetadataSerializationException} for other issues</li>
+ * </ul>
*/
CompletableFuture<Versioned<LedgerMetadata>> createLedgerMetadata(long ledgerId, LedgerMetadata metadata);
@@ -63,10 +64,12 @@ public interface LedgerManager extends Closeable {
* Ledger metadata version
* @return Future which, when completed, denotes that the ledger metadata has been removed.
* Completed with an exception:<ul>
- * <li>{@link BKException.BKMetadataVersionException} if version doesn't match</li>
- * <li>{@link BKException.BKNoSuchLedgerExistsOnMetadataServerException} if ledger not exist</li>
- * <li>{@link BKException.ZKException} for other issues</li>
- * </ul>
+ * <li>{@link org.apache.bookkeeper.client.BKException.BKMetadataVersionException}
+ * if version doesn't match</li>
+ * <li>{@link org.apache.bookkeeper.client.BKException.BKNoSuchLedgerExistsOnMetadataServerException}
+ * if ledger not exist</li>
+ * <li>{@link org.apache.bookkeeper.client.BKException.ZKException} for other issues</li>
+ * </ul>
*/
CompletableFuture<Void> removeLedgerMetadata(long ledgerId, Version version);
@@ -77,8 +80,9 @@ public interface LedgerManager extends Closeable {
* Ledger Id
* @return Future which, when completed, contains the requested versioned metadata.
* Completed with an exception::<ul>
- * <li>{@link BKException.BKNoSuchLedgerExistsOnMetadataServerException} if ledger not exist</li>
- * <li>{@link BKException.ZKException} for other issues</li>
+ * <li>{@link org.apache.bookkeeper.client.BKException.BKNoSuchLedgerExistsOnMetadataServerException}
+ * if ledger not exist</li>
+ * <li>{@link org.apache.bookkeeper.client.BKException.ZKException} for other issues</li>
* </ul>
*/
CompletableFuture<Versioned<LedgerMetadata>> readLedgerMetadata(long ledgerId);
@@ -94,8 +98,9 @@ public interface LedgerManager extends Closeable {
* The version of the metadata we expect to be overwriting.
* @return Future which, when completed, contains the newly written metadata.
* Comleted with an exceptione:<ul>
- * <li>{@link BKException.BKMetadataVersionException} if version in metadata doesn't match</li>
- * <li>{@link BKException.ZKException} for other issue</li>
+ * <li>{@link org.apache.bookkeeper.client.BKException.BKMetadataVersionException}
+ * if version in metadata doesn't match</li>
+ * <li>{@link org.apache.bookkeeper.client.BKException.ZKException} for other issue</li>
* </ul>
*/
CompletableFuture<Versioned<LedgerMetadata>> writeLedgerMetadata(long ledgerId, LedgerMetadata metadata,