Class RuleCheckParams

    • Constructor Detail

      • RuleCheckParams

        public RuleCheckParams()
      • RuleCheckParams

        public RuleCheckParams​(RuleCheckParams source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getDelayLoop

        public Long getDelayLoop()
        Get 健康检查的时间间隔
        Returns:
        DelayLoop 健康检查的时间间隔
      • setDelayLoop

        public void setDelayLoop​(Long DelayLoop)
        Set 健康检查的时间间隔
        Parameters:
        DelayLoop - 健康检查的时间间隔
      • getConnectTimeout

        public Long getConnectTimeout()
        Get 健康检查的响应超时时间
        Returns:
        ConnectTimeout 健康检查的响应超时时间
      • setConnectTimeout

        public void setConnectTimeout​(Long ConnectTimeout)
        Set 健康检查的响应超时时间
        Parameters:
        ConnectTimeout - 健康检查的响应超时时间
      • getPath

        public String getPath()
        Get 健康检查的检查路径
        Returns:
        Path 健康检查的检查路径
      • setPath

        public void setPath​(String Path)
        Set 健康检查的检查路径
        Parameters:
        Path - 健康检查的检查路径
      • getMethod

        public String getMethod()
        Get 健康检查的方法,GET/HEAD
        Returns:
        Method 健康检查的方法,GET/HEAD
      • setMethod

        public void setMethod​(String Method)
        Set 健康检查的方法,GET/HEAD
        Parameters:
        Method - 健康检查的方法,GET/HEAD
      • getStatusCode

        public Long[] getStatusCode()
        Get 确认源站正常的返回码,可选范围[100, 200, 300, 400, 500]
        Returns:
        StatusCode 确认源站正常的返回码,可选范围[100, 200, 300, 400, 500]
      • setStatusCode

        public void setStatusCode​(Long[] StatusCode)
        Set 确认源站正常的返回码,可选范围[100, 200, 300, 400, 500]
        Parameters:
        StatusCode - 确认源站正常的返回码,可选范围[100, 200, 300, 400, 500]
      • getDomain

        public String getDomain()
        Get 健康检查的检查域名。 当调用ModifyRuleAttribute时,不支持修改该参数。
        Returns:
        Domain 健康检查的检查域名。 当调用ModifyRuleAttribute时,不支持修改该参数。
      • setDomain

        public void setDomain​(String Domain)
        Set 健康检查的检查域名。 当调用ModifyRuleAttribute时,不支持修改该参数。
        Parameters:
        Domain - 健康检查的检查域名。 当调用ModifyRuleAttribute时,不支持修改该参数。
      • getFailedCountInter

        public Long getFailedCountInter()
        Get 源站服务失败统计频率 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        FailedCountInter 源站服务失败统计频率 注意:此字段可能返回 null,表示取不到有效值。
      • setFailedCountInter

        public void setFailedCountInter​(Long FailedCountInter)
        Set 源站服务失败统计频率 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        FailedCountInter - 源站服务失败统计频率 注意:此字段可能返回 null,表示取不到有效值。
      • getFailedThreshold

        public Long getFailedThreshold()
        Get 源站健康性检查阀值,超过该阀值会屏蔽服务 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        FailedThreshold 源站健康性检查阀值,超过该阀值会屏蔽服务 注意:此字段可能返回 null,表示取不到有效值。
      • setFailedThreshold

        public void setFailedThreshold​(Long FailedThreshold)
        Set 源站健康性检查阀值,超过该阀值会屏蔽服务 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        FailedThreshold - 源站健康性检查阀值,超过该阀值会屏蔽服务 注意:此字段可能返回 null,表示取不到有效值。
      • getBlockInter

        public Long getBlockInter()
        Get 源站健康性检测超出阀值后,屏蔽的时间 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        BlockInter 源站健康性检测超出阀值后,屏蔽的时间 注意:此字段可能返回 null,表示取不到有效值。
      • setBlockInter

        public void setBlockInter​(Long BlockInter)
        Set 源站健康性检测超出阀值后,屏蔽的时间 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        BlockInter - 源站健康性检测超出阀值后,屏蔽的时间 注意:此字段可能返回 null,表示取不到有效值。