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:33 UTC
[iotdb] branch update_clientmanager_javadoc created (now d8fd02a34f)
This is an automated email from the ASF dual-hosted git repository.
tanxinyu pushed a change to branch update_clientmanager_javadoc
in repository https://gitbox.apache.org/repos/asf/iotdb.git
at d8fd02a34f update javadoc
This branch includes the following new commits:
new d8fd02a34f update javadoc
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[iotdb] 01/01: update javadoc
Posted by ta...@apache.org.
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. */