类 ConnectionMeta

java.lang.Object
com.alibaba.nacos.core.remote.ConnectionMeta

public class ConnectionMeta extends Object
ConnectionMetaInfo.
版本:
$Id: ConnectionMetaInfo.java, v 0.1 2020年07月13日 7:28 PM liuzunfei Exp $
作者:
liuzunfei
  • 字段详细资料

  • 构造器详细资料

  • 方法详细资料

    • getLabel

      public String getLabel(String labelKey)
    • getTag

      public String 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

      public Map<String,​String> getLabels()
      Getter method for property labels.
      返回:
      property value of labels
    • setLabels

      public void setLabels(Map<String,​String> labels)
      Setter method for property labels.
      参数:
      labels - value to be assigned to property labels
    • getClientIp

      public String getClientIp()
      Getter method for property clientIp.
      返回:
      property value of clientIp
    • setClientIp

      public void setClientIp(String clientIp)
      Setter method for property clientIp.
      参数:
      clientIp - value to be assigned to property clientIp
    • getConnectionId

      public String getConnectionId()
      Getter method for property connectionId.
      返回:
      property value of connectionId
    • setConnectionId

      public void setConnectionId(String connectionId)
      Setter method for property connectionId.
      参数:
      connectionId - value to be assigned to property connectionId
    • getCreateTime

      public Date getCreateTime()
      Getter method for property createTime.
      返回:
      property value of createTime
    • setCreateTime

      public void setCreateTime(Date createTime)
      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

      public String getConnectType()
      Getter method for property connectType.
      返回:
      property value of connectType
    • setConnectType

      public void setConnectType(String connectType)
      Setter method for property connectType.
      参数:
      connectType - value to be assigned to property connectType
    • getVersion

      public String getVersion()
      Getter method for property version.
      返回:
      property value of version
    • setVersion

      public void setVersion(String version)
      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

      public String getAppName()
    • setAppName

      public void setAppName(String appName)
    • getTenant

      public String getTenant()
    • setTenant

      public void setTenant(String tenant)
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object