类 Connection
java.lang.Object
com.alibaba.nacos.common.remote.client.Connection
- 所有已实现的接口:
com.alibaba.nacos.api.remote.Requester
- 直接已知子类:
GrpcConnection
connection on client side.
- 版本:
- $Id: Connection.java, v 0.1 2020年08月09日 1:32 PM liuzunfei Exp $
- 作者:
- liuzunfei
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanGetter method for property abandon.voidsetAbandon(boolean abandon)Setter method for property abandon. connection event will be ignored if connection is abandoned.voidsetConnectionId(String connectionId)从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.alibaba.nacos.api.remote.Requester
asyncRequest, close, request, requestFuture
-
字段详细资料
-
serverInfo
-
-
构造器详细资料
-
Connection
-
-
方法详细资料
-
getConnectionId
-
setConnectionId
-
isAbandon
public boolean isAbandon()Getter method for property abandon.- 返回:
- property value of abandon
-
setAbandon
public void setAbandon(boolean abandon)Setter method for property abandon. connection event will be ignored if connection is abandoned.- 参数:
abandon- value to be assigned to property abandon
-