You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ta...@apache.org on 2023/01/09 02:50:34 UTC

[iotdb] 01/01: update javadoc

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

tanxinyu pushed a commit to branch update_clientmanager_javadoc
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit d8fd02a34ffad47f7d89689015f07f1fa592b449
Author: OneSizeFitQuorum <ta...@apache.org>
AuthorDate: Mon Jan 9 10:50:18 2023 +0800

    update javadoc
    
    Signed-off-by: OneSizeFitQuorum <ta...@apache.org>
---
 .../main/java/org/apache/iotdb/commons/client/IClientManager.java | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/node-commons/src/main/java/org/apache/iotdb/commons/client/IClientManager.java b/node-commons/src/main/java/org/apache/iotdb/commons/client/IClientManager.java
index 2b74fc716f..aa3a09c837 100644
--- a/node-commons/src/main/java/org/apache/iotdb/commons/client/IClientManager.java
+++ b/node-commons/src/main/java/org/apache/iotdb/commons/client/IClientManager.java
@@ -19,6 +19,7 @@
 
 package org.apache.iotdb.commons.client;
 
+import org.apache.iotdb.commons.client.exception.BorrowNullClientManagerException;
 import org.apache.iotdb.commons.client.exception.ClientManagerException;
 
 import javax.annotation.concurrent.ThreadSafe;
@@ -26,7 +27,12 @@ import javax.annotation.concurrent.ThreadSafe;
 @ThreadSafe
 public interface IClientManager<K, V> {
 
-  /** get a client V for node K from the IClientManager. */
+  /**
+   * get a client V for node K from the IClientManager.
+   *
+   * @throws BorrowNullClientManagerException if node is null
+   * @throws ClientManagerException for other exceptions
+   */
   V borrowClient(K node) throws ClientManagerException;
 
   /** clear all clients for node K. */