类 ConnectionMeta
java.lang.Object
com.alibaba.nacos.core.remote.ConnectionMeta
ConnectionMetaInfo.
- 版本:
- $Id: ConnectionMetaInfo.java, v 0.1 2020年07月13日 7:28 PM liuzunfei Exp $
- 作者:
- liuzunfei
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Getter method for property clientIp.Getter method for property connectionId.Getter method for property connectType.Getter method for property createTime.Getter method for property labels.longGetter method for property lastActiveTime.intGetter method for property localPort.getTag()Getter method for property version.booleancheck if this connection is sdk source.booleancheck if this connection is sdk source.voidsetAppName(String appName)voidsetClientIp(String clientIp)Setter method for property clientIp.voidsetConnectionId(String connectionId)Setter method for property connectionId.voidsetConnectType(String connectType)Setter method for property connectType.voidsetCreateTime(Date createTime)Setter method for property createTime.voidSetter method for property labels.voidsetLastActiveTime(long lastActiveTime)Setter method for property lastActiveTime.voidsetLocalPort(int localPort)Setter method for property localPort.voidvoidsetVersion(String version)Setter method for property version.toString()
-
字段详细资料
-
labels
-
-
构造器详细资料
-
ConnectionMeta
-
-
方法详细资料
-
getLabel
-
getTag
-
isSdkSource
public boolean isSdkSource()check if this connection is sdk source.- 返回:
- if this connection is sdk source.
-
isClusterSource
public boolean isClusterSource()check if this connection is sdk source.- 返回:
- if this connection is sdk source.
-
getLabels
Getter method for property labels.- 返回:
- property value of labels
-
setLabels
Setter method for property labels.- 参数:
labels- value to be assigned to property labels
-
getClientIp
Getter method for property clientIp.- 返回:
- property value of clientIp
-
setClientIp
Setter method for property clientIp.- 参数:
clientIp- value to be assigned to property clientIp
-
getConnectionId
Getter method for property connectionId.- 返回:
- property value of connectionId
-
setConnectionId
Setter method for property connectionId.- 参数:
connectionId- value to be assigned to property connectionId
-
getCreateTime
Getter method for property createTime.- 返回:
- property value of createTime
-
setCreateTime
Setter method for property createTime.- 参数:
createTime- value to be assigned to property createTime
-
getLastActiveTime
public long getLastActiveTime()Getter method for property lastActiveTime.- 返回:
- property value of lastActiveTime
-
setLastActiveTime
public void setLastActiveTime(long lastActiveTime)Setter method for property lastActiveTime.- 参数:
lastActiveTime- value to be assigned to property lastActiveTime
-
getConnectType
Getter method for property connectType.- 返回:
- property value of connectType
-
setConnectType
Setter method for property connectType.- 参数:
connectType- value to be assigned to property connectType
-
getVersion
Getter method for property version.- 返回:
- property value of version
-
setVersion
Setter method for property version.- 参数:
version- value to be assigned to property version
-
getLocalPort
public int getLocalPort()Getter method for property localPort.- 返回:
- property value of localPort
-
setLocalPort
public void setLocalPort(int localPort)Setter method for property localPort.- 参数:
localPort- value to be assigned to property localPort
-
getAppName
-
setAppName
-
getTenant
-
setTenant
-
toString
-