Class HealthCheckConfiguration

    • Constructor Detail

      • HealthCheckConfiguration

        public HealthCheckConfiguration()
    • Method Detail

      • getParent

        public String getParent()
      • setParent

        public void setParent​(String parent)
        The id of the health check such as routes or registry (can use * as wildcard)
      • isEnabled

        public boolean isEnabled()
      • setEnabled

        public void setEnabled​(boolean enabled)
        Set if the check associated to this configuration is enabled or not. Is default enabled.
      • getInterval

        @Deprecated
        public long getInterval()
        Deprecated.
      • setInterval

        @Deprecated
        public void setInterval​(long interval)
        Deprecated.
        Set the check interval in milli seconds.
      • getFailureThreshold

        @Deprecated
        public int getFailureThreshold()
        Deprecated.
      • setFailureThreshold

        @Deprecated
        public void setFailureThreshold​(int failureThreshold)
        Deprecated.
        Set the number of failure before reporting the service as un-healthy.
      • getSuccessThreshold

        @Deprecated
        public int getSuccessThreshold()
        Deprecated.
      • setSuccessThreshold

        @Deprecated
        public void setSuccessThreshold​(int successThreshold)
        Deprecated.
        Set the number of success before reporting the service as healthy.