Interface BasicHealthCheckConfig

All Known Subinterfaces:
HealthCheckConfig
All Known Implementing Classes:
DefaultBasicHealthCheckConfig, DefaultHealthCheckConfig

@Immutable public interface BasicHealthCheckConfig
Provides configuration settings for Ditto's runtime health checking behaviour.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    An enumeration of the known config path expressions and their associated default values for BaseHealthCheckConfig.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the interval of health check.
    boolean
    Indicates whether global health checking should be enabled.
  • Method Details

    • isEnabled

      boolean isEnabled()
      Indicates whether global health checking should be enabled.
      Returns:
      true if health checking should be enabled, false else.
    • getInterval

      Duration getInterval()
      Returns the interval of health check.
      Returns:
      the interval.
      See Also: