未验证 提交 48002969 编写于 作者: P Potato 提交者: GitHub

update javadoc (#8789)

Signed-off-by: NOneSizeFitQuorum <tanxinyu@apache.org>
Signed-off-by: NOneSizeFitQuorum <tanxinyu@apache.org>
上级 a0662478
......@@ -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. */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册