类 IServiceInstance


  • public class IServiceInstance
    extends Object
    • 字段详细资料

      • AWAIT

        public static final int AWAIT
        设置连接状态为等待
        另请参阅:
        常量字段值
      • SUCCESS

        public static final int SUCCESS
        成功状态
        另请参阅:
        常量字段值
      • ERROR

        public static final int ERROR
        异常状态
        另请参阅:
        常量字段值
      • AWAIT_STOP

        public static final int AWAIT_STOP
        是否暂时停用下次注册的时候自动恢复状态
        另请参阅:
        常量字段值
      • TYPE_APPLICATION

        public static final String TYPE_APPLICATION
        状态 应用服务器
        另请参阅:
        常量字段值
    • 构造器详细资料

      • IServiceInstance

        public IServiceInstance()
    • 方法详细资料

      • getLogPath

        public String getLogPath()
      • getExpiresTime

        public int getExpiresTime()
      • getWeight

        public int getWeight()
      • setWeight

        public void setWeight​(int weight)
      • setExpiresTime

        public void setExpiresTime​(int expiresTime)
      • getEnvironment

        public String getEnvironment()
      • setEnvironment

        public void setEnvironment​(String environment)
      • setLogPath

        public void setLogPath​(String logPath)
      • getUpdateTime

        public long getUpdateTime()
      • getType

        public String getType()
      • setType

        public void setType​(String type)
      • setUpdateTime

        public void setUpdateTime​(long updateTime)
      • getRegisterTime

        public long getRegisterTime()
      • setRegisterTime

        public void setRegisterTime​(long registerTime)
      • getVersion

        public String getVersion()
      • setVersion

        public void setVersion​(String version)
      • getCustom

        public boolean getCustom()
      • setCustom

        public void setCustom​(boolean custom)
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • getManagerInfo

        public String getManagerInfo()
      • setManagerInfo

        public void setManagerInfo​(String managerInfo)
      • getInstanceId

        public String getInstanceId()
      • getStatus

        public int getStatus()
      • setStatus

        public void setStatus​(int status)
      • setInstanceId

        public void setInstanceId​(String instanceId)
      • getServiceId

        public String getServiceId()
      • setServiceId

        public void setServiceId​(String serviceId)
      • getHost

        public String getHost()
      • setHost

        public void setHost​(String host)
      • getPort

        public int getPort()
      • setPort

        public void setPort​(int port)
      • isSecure

        public boolean isSecure()
      • getSecure

        public boolean getSecure()
      • setSecure

        public void setSecure​(boolean secure)
      • getScheme

        public String getScheme()
      • setScheme

        public void setScheme​(String scheme)
      • setMetadata

        public void setMetadata​(Map<String,​String> metadata)
      • getContext

        public String getContext()
      • setContext

        public void setContext​(String context)